“URL” is one of the patterns that you can select on the Match panel. Use this pattern to make a field match an internet address as you would enter into a web browser’s address bar. You can set the pattern to allow any URL, or to require specific schemes, ports, domains, file paths, parameters, etc.
This example shows how you can use the “URL” pattern to look for URLs. You can find this example as “Pattern: URL” in the RegexMagic library.
regexmagic.com www.regexmagic.com http://regexmagic.com http://www.regexmagic.com http://www.regexmagic.com/ http://www.regexmagic.com/index.html http://www.regexmagic.com/index.html?source=library support@regexmagic.com
\bhttps?://[.0-9a-z-]+\.[a-z]{2,63}(?::[0-9]{1,5})?(?:/[!$'()*+,.0-9_a-z-]+){0,9}(?:/[!$'()*+,.0-9_a-z-]*)?(?:\?[!$&'()*+,.0-9=_a-z-]*)?
Required options: Case insensitive.
Unused options: Exact spacing; Dot doesn’t match line breaks; ^$ don’t match at line breaks; Numbered capture.
regexmagic.com www.regexmagic.com http://regexmagic.com http://www.regexmagic.com http://www.regexmagic.com/ http://www.regexmagic.com/index.html http://www.regexmagic.com/index.html?source=library support@regexmagic.com