Simple RegEx, difficult for me :(
Posted: Wed Feb 01, 2006 6:55 am
Just looing to do the following :
Extract the Page Number from a url like the following :
http://localhost/Lifestyle_And_Dating/Dating/Page_1
POssible values for page arre ... Page_1 to Page_99.
After extracting this from the url and storing it in a variable, I want to remove it from the source sttring (url)), so I am just left with
http://localhost/Lifestyle_And_Dating/Dating/
Many Thanks
Extract the Page Number from a url like the following :
http://localhost/Lifestyle_And_Dating/Dating/Page_1
POssible values for page arre ... Page_1 to Page_99.
After extracting this from the url and storing it in a variable, I want to remove it from the source sttring (url)), so I am just left with
http://localhost/Lifestyle_And_Dating/Dating/
Many Thanks