Regular
Expressions
101
@regex101
Follow me on twitter!
Donate
Like regex101? Support it by donating!
Sponsor
Become a sponsor!
Contact
Send me an email
Bug Reports & Feedback
Bugs or suggestions go here
Wiki
Wiki (Info & FAQ)
Whats new?
Whats new?
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Consider a donation
Consider a donation
Become a sponsor
Become a sponsor
Settings
All settings to control the application are located here.
They are automatically saved as you change them and will be automatically loaded every time.
Sponsor
Jamstack at Scale
General
Language
Chinese
Dutch
English
French
German
Swedish
Max Execution Time
50ms
100ms
200ms
400ms
600ms
800ms
1000ms
1.5s
2s
3s
4s
5s
7.5s
10s
15s
20s
30s
40s
50s
75s
100s
This setting affects how long the matcher will try to match your regex before it decides to give up
Always collapse left sidebar
Always collapse right sidebar
Show warning popup when trying to leave site with unsaved data
Theme
Style
Automatic
Light
Dark
This setting adjusts the site-wide theme
Editor
Default flavor
pcre
pcre2
javascript
python
golang
Select the flavor you want to use when the site loads. Note: a saved entry's flavor will override this
Default code generator language
Automatic
AutoIt
C#
Golang
Java
JavaScript
Perl
PHP
Python
Ruby
Rust
SED
Swift 5.2
If left to automatic, the code generator will mirror the currently selected flavor in the editor
Highlight Syntax
Enable or disable the syntax highlighting of your regular expression in the editor
Auto-complete Brackets
Wrap Long Lines
Show Line Numbers in Regex Editor
Show Line Numbers in Test String Editor and Substitution Result
Show tooltips
Show informative and helpful tooltips when hovering tokens in the regex editor
Visualize whitespace and other special characters
Show how many steps a regular expression takes to evaluate
If you are working on very large and complex expressions, turning this option off will yield improved performance
Include non-participating groups in match result
This setting determines whether groups in your regex, which did not match anything in the subject string, should be included in the results or not
Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.