Loading...
Test regular expressions against your sample text and see matches highlighted in real time. Capture groups are listed separately so you can verify what each group extracts, and a library of common preset patterns — emails, URLs, dates, IP addresses, and more — gets you started without memorizing syntax.
Whether you are debugging a validation rule, writing a search-and-replace, or learning regex, instant visual feedback beats guess-and-check loops in your code. Everything runs locally, so pasting real log lines or user data is completely private.
JavaScript (ECMAScript) regular expressions — the same engine your web pages and Node.js code use. Most everyday patterns (classes, quantifiers, groups, lookaheads) are identical across languages.
g finds all matches instead of stopping at the first; i makes matching case-insensitive; m makes ^ and $ match at line boundaries instead of just the start and end of the whole text.
Small dialect differences exist: lookbehind support, Unicode classes, and escaping rules vary by language. This tester is authoritative for JavaScript; test in the engine you deploy to if the pattern is critical.
No. Matching runs entirely in your browser, so pasting production logs or sensitive strings is safe.
PureKit · regex · Free online tool — files processed locally in your browser, no upload.