Regex Tool

View on GitHub
/ /
Copy pattern to clipboard Clear the pattern
0 matches 0 groups 0 chars

Test String

Matches

No matches yet — enter a pattern and some test text.

Test String

Result


            

Split splits the test string on every match

Pattern Explanation Plain-English breakdown of every token

Enter a regex above and we'll explain every piece.

Regex Builder — click chips to append to the pattern

Character classes

Anchors & boundaries

Quantifiers

Groups & alternation

Lookaround

Special characters

Escape a literal string

Common Patterns Library Click any card to use it

Regex Cheatsheet

Code Generator Convert your regex to code in different languages