Please enable JavaScript to use this web application.
Regular
Expressions
101
Support Regex101
Social
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Settings
General
Appearance
Editor and Flavors
Sponsors
There are currently no sponsors.
Become a sponsor today!
Please wait while the page is loading...
Flavors
Default flavor
pcre
pcre2
javascript
python
golang
java
dotnet
rust
Default code generator language
Automatic
AutoIt
C#
Golang
Java
JavaScript
Perl
PHP
Python
Ruby
Rust
SED
Swift 5.2
Match
Max Execution Time
50 ms
100 ms
200 ms
400 ms
600 ms
800 ms
1 s
1.5 s
2 s
3 s
4 s
5 s
7.5 s
10 s
15 s
20 s
30 s
40 s
50 s
75 s
100 s
Show how many steps a regular expression takes to evaluate
Include non-participating groups in match result
Benchmark Evaluation Period
2.5 s
5 s
10 s
15 s
20 s
30 s
60 s
120 s
240 s
Editor
Highlight Syntax
Wrap Long Lines
Show Line Numbers in Regex Editor
Show Line Numbers in Test String Editor and Substitution Result
Show tooltips
Visualize whitespace and other special characters
Line Separator
Automatic
\n
\r\n
\r
Pick which line separator to use in the editor. This only affects the parsing of the text when inserted into the editor, any changes within the editor will always use
\n
.
The default setting of
Automatic
will split lines on any of
\n
,
\r
or
\r\n
.
Text explanation mode
All available
Hex only
Octal only
None
Show match information panel in text input and substitution output