Regex tester

Test a JavaScript regular expression against text.

Processed in this browser. Nothing is sent to a server.

Flags

Matches

How do I use Regex tester?

Enter the pattern, flags, and text. The search runs off the main thread and stops if it takes too long.

What are the limits of Regex tester?

Pattern up to 300 characters, text up to 20,000, and at most 100 matches. Accepted flags: g, i, m, s, u, and y.

Related tools