Calling all regex gurus
Posted: Wed Nov 15, 2006 9:05 am
having a tough time trying to figure this one:
here are the samples i would like to match on (match items in bold)....
http://www.mydomain.com/[b]somepage[/b] (basically anything that comes after the "/" slash)
http://www.mydomain.com/[b]somepage[/b]
However, I don't want to match anything with a .php extension or with nothing after the "/". ie...
http://www.mydomain.com
http://www.mydomain.com/index.php
http://www.mydomain.com
http://www.mydomain.com/index.php
here are the samples i would like to match on (match items in bold)....
http://www.mydomain.com/[b]somepage[/b] (basically anything that comes after the "/" slash)
http://www.mydomain.com/[b]somepage[/b]
However, I don't want to match anything with a .php extension or with nothing after the "/". ie...
http://www.mydomain.com
http://www.mydomain.com/index.php
http://www.mydomain.com
http://www.mydomain.com/index.php