Author: sheraz_aries | Posted on: 8/25/2010 6:22:21 PM | Views : 248

I am trying to create a function that  return the number part within / / from a url if exist:
For exmple:
http://www.mydomain.com/Mobile_Exec/1234/Orange_revamps_business_website.aspx SHOULD RETURN "\1234\"
http://www.mydomain.com/News/Orange_revamps_business_website.aspx    SHOULD RETURN "\\"
http://www.mydomain.com/News/Features/627362/Orange_revamps_business_website.aspx SHOULD RETURN "\627362\"


I prefer if possible to use regular expression. Any help would be really appreciated.
...

Go to the complete details ...