Ruby RegEx

A

aidy

Hi,

This may or may not be the correct group, but I am having serious
problems with the below regular expression.

xpath_test = "Payment Method: Visa
View purchased media: Click here
<http://xxx-ui-systest/Customer/ViewPurchases.aspx?Id=61838ea5
-28e5-4427-bd9f-48996492c267>"

puts xpath_test
puts xpath_test.match(/<http:\/\/xxx-ui-systest\/Customer\/
ViewPurchases\.aspx\?Id=.*?>/)

Could anybody please help?

Thanks

Aidy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,946
Members
47,498
Latest member
yelene6679

Latest Threads

Top