
July 21st, 2011, 05:21 PM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 1
Time spent in forums: 5 m 10 sec
Reputation Power: 0
|
|
|
Regex for url
I have an existing regex for urls:
^([^/]+)/([^/]+)/([^/]+)/?$
that successfully matches urls like:
http://localhost/the-x-family/media/12139
http://localhost/the-x-family/video/6547
http://localhost/community/support/forum.aspx
I don't want it to match anything with ".aspx". How can I exclude that string?
Thanks!
|