Boy, these are really driving me up the wall.
Yes, I have been to regexlib.com and some of the examples I am trying are not working at all. I noticed some comments on them saying that they will not work with .NET validators. Is there difference syntax you must use for expressions in .NET?? If thats the case, is there any place similar to regexlib.com that has only .NET validators?? Anyway here is my problem at hand.
I am using this expression to accept URL's
(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?
I would like for it to be able to ALSO accept URL's starting with www. For example www.aol.com. They should also be able to enter the usual http, https and ftp. I tried modding the expression myself like so...
\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?
This expression does not valid ...
Go to the complete details ...