FluentRegex

Discover, build, and test regex patterns from examples — no regex expertise required.

History

Components

|
^
Start Anchor ^
$
End Anchor $
\b
Word Boundary \b
\B
Non-Word Boundary \B
\d
Digit \d
\D
Non-Digit \D
\w
Word Char \w
\W
Non-Word Char \W
\s
Whitespace \s
\S
Non-Whitespace \S
0x
Hex Digit [0-9A-Fa-f]
0o
Octal Digit [0-7]
\p{L}
Unicode Letter \p{L}
\p{N}
Unicode Number \p{N}
\p{P}
Unicode Punctuation \p{P}
\p{S}
Unicode Symbol \p{S}
\t
Tab \t
\n
Newline \n
\r
Carriage Return \r
\f
Form Feed \f
\v
Vertical Tab \v
\0
Null \0
.
Any Character .
[ ]
Character Set [abc]
[^]
Negated Set [^abc]
[-]
Character Range [a-z]
abc
Literal text
\.
Escaped \char

Keyboard Shortcuts

Delete/Backspace Remove selected
Ctrl+Z Undo
Ctrl+Y Redo
↑/↓ ←/→ Navigate components

Pattern

^ $

Examples

Test Examples

Tip: Use "!" prefix for examples that should NOT match (e.g., !X1234567G)

S1234567G Should match
Click to edit
T7654321H Should match
Click to edit
X1234567G Should NOT match
Click to edit

Settings

Automatically wrap pattern with start (^) and end ($) anchors

Automatically update pattern when examples change

Optimize Pattern

No optimizations needed