Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET (C#)
Rust
Sponsors
Community Patterns
Search among 2,080 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove ANSI escape codes
Python
Remove ANSI escape codes
Submitted by
anonymous
-
a year ago
2022-06-29 07:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
iCalendar property parsing
Python
parses property strings as used by iCalendar. Kinda.
Submitted by
anonymous
-
a year ago
2022-06-29 21:02
(Last modified a year ago)
2022-06-30 15:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
分组引用
Python
分组引用
Submitted by
anonymous
-
a year ago
2022-07-02 13:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone number
Python
Phone number
Submitted by
anonymous
-
a year ago
2022-07-06 03:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
decimal double point with range number from minus to plus range number
Python
the decimal, double point with range number from minus to plus range number, the example from -199.99 to 199.99 revision from example pattern 1: ^(?:\-?10(?:\.\d\d?)?|\-?[1]?[1-9]?0-9?)$
Submitted by
eki.saputra
-
a year ago
2022-07-07 05:10
(Last modified a year ago)
2022-07-07 05:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regular expresion mathematical expression
Python
re to validate x/(x+b)=(dx)/a like 7/(x+9) = (4x)/3
Submitted by
anonymous
-
a year ago
2022-07-07 11:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
flake8-sql False Positives
Python
An example false positive matching docstring for the regex used by flake8-sql (https://github.com/pgjones/flake8-sql).
Submitted by
anonymous
-
a year ago
2022-07-08 14:00
(Last modified a year ago)
2022-07-08 14:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ISO8601 Date/Time Parser
Python
Parses most of the variations of ISO8601 that are allowed, including dates only and date/time with or without the time zone.
Submitted by
Mumblepins
-
a year ago
2022-07-10 03:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bot-Studio Comments
Python
Regex For Comments In Bot Studio Via YT Docs
Submitted by
Codaea
-
a year ago
2022-07-11 07:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Author names
Python
Matches author names
Submitted by
anonymous
-
a year ago
2022-07-12 06:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
TRye bracktres
Python
gfhtrgh
Submitted by
anonymous
-
a year ago
2022-07-18 20:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
telephone_finder
Python
[-+ ]?[178]?[ ]?\d[ ]?\d[ ]?\d[ ]?\d[ ]?\d[ ]?\d[ ]?
Submitted by
anonymous
-
a year ago
2022-07-21 05:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bandwidth value validation
Python
Bandwidth value validation: 1-1023K 1-1023M 1-40G
Submitted by
Damien Stuart
-
a year ago
2022-07-22 17:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email validation regex
Python
This email validation regex works perfectly (99.99%) for validating email address entries. The regex does not match email addresses with with the following characteristics: Addresses that begin/end with a special character Addresses with consecutive repeated special characters ...
Submitted by
Bright Owusu
-
a year ago
2022-07-23 17:46
(Last modified a year ago)
2022-07-23 18:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Out of
Python
Out of
Submitted by
anonymous
-
a year ago
2022-07-26 09:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Contas regex
Python
A simple regex for contas bancárias
Submitted by
anonymous
-
a year ago
2022-07-27 03:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
singleTime ztm
Python
ss
Submitted by
pochwix2
-
a year ago
2022-07-27 11:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Code Block Splitting
Python
Useful for getting codeblock from a text
Submitted by
anonymous
-
a year ago
2022-07-29 14:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
KPI Dash Drop-In Image Compliance
Python
This regex is designed for end users to test if there image file is name compliant.
Submitted by
Jeremiah Carlson
-
a year ago
2022-08-11 16:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Vampire output formulas
Python
Parses the output of the automated theorem prover Vampire. Matches the output lines printed by the options --show_everything, --show_active, --show_new etc. Run vampire --show_everything on to generate a compatible string.
Submitted by
Filip Bártek
-
a year ago
2022-08-16 17:58
1
...
91
92
93
94
95
96
97
...
104
Bandwidth value validation
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
^
(?:
(?:
[
1
-
9
]
|
[
1
-
9
]
(?:
\d
{1,2}
)
|
10
[
0
-
2
]
[
0
-
3
]
)
(?:
[
KM
]
)
|
(?:
[
1
-
9
]
|
[
1
-
3
]
[
0
-
9
]
|
40
)
G
)
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Damien Stuart
-
a year ago
2022-07-22 17:30