hankcoder has asked for the wisdom of the Perl Monks concerning the following question:
Just to share with you all of my findings and feel free to comment as I'm no expert in this regex so I just use whichever I feel can solve my problem.
After spending hours of research to use regex and even Data::Validate::URI, finally I have encounter this website list with lots of regex to check if url is valid or not. (https://mathiasbynens.be/demo/url-regex)
I have already picked one that best suits my needs.
Feel free to comment if there are any cons of using such regex.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex check Valid URL
by GrandFather (Saint) on Aug 17, 2015 at 10:43 UTC | |
|
Re: Regex check Valid URL
by vinoth.ree (Monsignor) on Aug 17, 2015 at 08:13 UTC | |
by hankcoder (Scribe) on Aug 17, 2015 at 10:26 UTC |