Posts tagged: regex
- A really loose regex for matching URLs
- Not recommended for validating URLs, but it will find them. The g flag is JavaScript specific and indicates that the matching should be global. /http:\/\/[\-\.\/\w]{1,256}(|\/)/gi [25 Nov 2009]