regex
Regex Tester
Test a regex pattern from line 1 against the remaining text
8 free tools
Regular expressions (regex) are a powerful pattern-matching syntax used in almost every programming language. Our free browser-based regex tools let you test patterns against sample text with live highlighting, validate regex syntax, extract all matches, perform find-and-replace operations, and escape special characters — without any backend or signup.
regex
Test a regex pattern from line 1 against the remaining text
regex
Replace matches using line 1 pattern, line 2 replacement, and the remaining text
regex
Validate a regular expression
regex
Extract regex matches using line 1 pattern and the remaining text
regex
Extract email addresses from text
regex
Extract URLs from text
regex
Extract phone numbers from text
regex
Escape special regex characters
All tools use JavaScript's built-in RegExp engine, which supports standard regex syntax including lookaheads, lookabehinds, named groups, and the s/m/i/g flags.
Yes. The regex tester supports all standard JavaScript flags: i (case-insensitive), m (multiline), g (global/all matches), and s (dot matches newline).