Skip to content
TheToolsBank logo
✦ Free ToolDeveloper

Regex Tester for JavaScript Regular Expressions

By TheToolsBank Editorial TeamLast updated:

How to test a regex

Regex cheat sheet

Ready-to-test patterns

What the flags do here

JavaScript regex support and limits

Common Mistakes to Avoid

Typing the pattern with slashes and flags, like /cat/i.

Solution:

Using ^ and $ on multi-line text without the m flag.

Solution:

Using a greedy .+ between quotes or tags.

Solution:

Forgetting to escape dots and dollar signs.

Solution:

Frequently Asked Questions