The Regex Tester lets you write a regular expression and test it against sample text with live match highlighting. All JavaScript regex flags are supported (g, i, m, s, u). Matches are highlighted in the test text, captured groups are listed separately, and any regex syntax errors are displayed immediately.
Debug and validate regular expressions quickly without needing a code editor or a Node.js REPL. To extract all matches from text using a pattern, use the Regex Matches Extractor.
Email pattern
Input
Pattern: [\w.-]+@[\w-]+\.[a-z]{2,}
Text: Contact alice@example.com or bob@test.orgOutput
2 matches: alice@example.com, bob@test.org
Extract all regex pattern matches from a block of text.
Search for text or regex patterns and replace them in bulk.
Extract all email addresses from any block of text.
Compare two blocks of text and highlight the differences.
Generate one or many UUIDs (v4) instantly.
Count characters against Twitter, LinkedIn, and SMS limits.