HOW IT WORKS
Test regular expressions in your browser
A regular expression (regex) is a pattern used to search, validate, and extract text. This tool lets you enter a pattern, choose flags, and test it against sample text.
Matching results include match positions, captured values, and a replacement preview. Changes can be tested without installing software or sending text to a server.