Menu
Hello forums!!
I need a very good validation for “url” and “email” using regular expression.
Following are the criteria for url:
* may have http or https @ start
* may or may not have query string like ?action=a&pack=p
Following are the criteria for email:
* [email][email protected]
[email][email protected]
* [email][email protected]
[email][email protected]
* may support above formats
Note: regex syntax should be valid for both php and javascript
Any suggestions, comments are warlmy welcome
Thanks in advance to all..