|
Posted by Seb on 10/07/06 04:35
Hi,
I am trying to find the right regular expression which would only
validate a URL with a given number of folders.
Example:
http://www.abc.com/folder/page.htm --> Valid (4 slahes)
http://www.abc.com/folder/subfolder/ --> not valid (5 slashes)
Basically, any URL not made of 4 slahes would be invalid.
However, the URL:
http://www.abc.com/folder/subfolder --> would also be invalid
Any ideas?
Thanks,
Seb
Navigation:
[Reply to this message]
|