Regex Tester
Run a JavaScript regular expression against sample text.
Result
Local processingYour result will appear here.
How to use it
Enter a pattern, choose flags, and paste sample text. Check the matching portions before using the expression in your code.
Worked example
The pattern “\d+” finds “42” in “Order 42”.