Regular expression for URL validation

S

sangram

Hi friends

my question is

i need a regular exp. for URL validation in java script
 
T

Thomas 'PointedEars' Lahn

sangram said:
my question is

i need a regular exp. for URL validation in java script

That is *not* a question, it is a demand (rather not welcome here). And the
language is called _JavaScript_.

Anyway, try the RegExp given in RFC3986 (URIs), Appendix B, for a start:

http://www.rfc-editor.org/rfc/rfc3986.txt

However, there has been posted at least one more URL-specific RegExp for
that purpose here already, at least by me. Google is your friend. And
maybe it is even in the FAQ by now.


PointedEars
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top