Skip to content
2xKit

Regex Tester

Test regular expressions against sample text.

Runs in your browser

About this tool

Writing a regular expression and confirming it actually matches what you intend needs testing against real sample text, since regex syntax is notoriously easy to get subtly wrong by reading alone. This tool tests regular expressions against sample text, letting you refine a pattern until it matches exactly what you need.

Frequently asked questions