regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
Match any url in text or html (http, https)
Published on Tue Mar 01 2022
Match any url in text or html (http, https)
Regex
Test String
https://regex101.com/ ftp://daqdsqdq azd ade zef ezfhttps://toto.dsdaz?page=1#sldlsdlsd&sqdqsd#sqdqsdsdza"ad azd azd
Additional matching regexes for
Match any url in text or html (http, https)
Match any url in text or html (http, https)
Match any url in text or html (http, https)
Simple Best URL Regex Match
# Best URL Regex to match URL, This is simple and can match 64K of url regex under 20ms ## Regex Matches All Below and more: - https://example.domain - http://example.domain - //example.domain - //example.com - https://example.com:34 - //example.com:23 - example.com
Full Best URL Regex Match
# Best Full URL Regex to match URL, This is simple and can match 64K of url regex under 77ms ## Regex Matches All Below and more: - https://example.domain - http://example.domain - //example.domain - //example.com - https://example.com:34 - //example.com:23 - example.com
Match the start of a link.
https:// http:// https://\/\/ https:\/\/\/\/\/\ https://\/\/ The reason I include [\/\\]* is because some links like: https://\/\/\/\/\/www.google.com actually work.
UK fixed and mobile phones
Will match all fixed and mobile phone numbers with 9 or 10 digit NSN Resource used: https://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom
QBAR Atom Regex
Regular expression to match `atoms`. See [qbar.io/docs.html#expression-language-atom](https://qbar.io/docs.html#expression-language-atom) for more information.
Capturing between phrases across multiple lines
Discussion https://www.reddit.com/r/regex/comments/kxtyl6/capturing_between_phrases_across_multiple_lines/ https://www.reddit.com/user/Pauley0/
mega.nz files and folders
Regex for matching https://mega.nz file and folder URLs. https://github.com/tonikelope/megabasterd/issues/215
Nitroflare ID
https://nitroflare.com/view/845F2436715ASF5/XUYZ.zip
HTTP => HTTPS
Force all URLs to HTTPS.