Regex Tester
Test JavaScript regular expressions against any input. Live match highlighting, capture groups, and named groups — all in your browser.
//g
Presets:
2 matches
Matches
#1 · index 58len 18
"https://webvork.nl"
#2 · index 80len 24
"http://webvork.nl/tools."
JavaScript
/https?:\/\/[^\s"'<>]+/gConstructor
new RegExp("https?:\\/\\/[^\\s\"'<>]+", "g")About regular expressions
Regular expressions (regex) describe patterns in text for searching, matching, validating, and replacing. This tester uses the native JavaScript engine, so any pattern that works here will behave identically in your application, Node.js scripts, or browser code.
Flags change how the regex matches: g finds all matches, i ignores case, m makes ^ and $ match line breaks, and s allows . to match newlines.