08-22-2009, 09:40 AM
[eluser]Shaheer[/eluser]
Hi,
i wanted to validate a url. Using PHP REGEX.
i have got some REGEXs by googling but all of them have flaws in them.
I wanted to match
all of these:
http://www.google.com
https://www.google.com
www.google.com
http://google.com
google.com/anything (or ?query )
but not javascript-: or mailto: can anyone help?
hey i am trying to type js protocol but expression-engine (the cms used here) removes it
Hi,
i wanted to validate a url. Using PHP REGEX.
i have got some REGEXs by googling but all of them have flaws in them.
I wanted to match
all of these:
http://www.google.com
https://www.google.com
www.google.com
http://google.com
google.com/anything (or ?query )
but not javascript-: or mailto: can anyone help?
hey i am trying to type js protocol but expression-engine (the cms used here) removes it
