Trouble validating an intranet url

G

Guest

Remove the www part?

http://(/[\w- ./?%&=]*)? --- I didn't try this, I just modified it by
looking at what I thought was correct.

It gives you the http:// part with any number of parts that contain any of
the characters of /[\w- ./?%&=]

If you want to, you could even change this to validate file:/// or ldap://
or whatever tickles your fancy.

There are tons of websites out there with custom regular expressions.

Here is the MSDN language reference:
http://msdn.microsoft.com/library/d...l/cpconRegularExpressionsLanguageElements.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top