Regex tester
Test a JavaScript regular expression against text.
Processed in this browser. Nothing is sent to a server.
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
- Text diffSee what changed between two texts, line by line.
- Word counterCount words, characters, and lines as you type.
- JWT decoderRead the header and payload of a JSON Web Token.
- Email validatorCheck an email's shape without contacting the mailbox.
- URL validatorCheck that the text is an absolute URL.
- IPv4 validatorCheck four decimal octets without a leading zero.