Jump to content

Archived

This topic is now archived and is closed to further replies.

may

URL checking

Recommended Posts

Hello!

I want to validate the input so that the user cannot enter a URL in the text bos provided. Any ideas on how to do it?

I tried to use regexp but it did not work  :-[

Help Pleeaaasseee!!!

Share this post


Link to post
Share on other sites
You don't want a URL? Check if it has"http://" or ".com" or ".net" etc. inside it.

Share this post


Link to post
Share on other sites
Thanks! will try this....but will it chk for .com, .net etc?
see i m really bad at regexp thats why need a lot of help. :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.