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,280 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java Map output to JSON String
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-04-21 20:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Any 'abc' string with at least one a and one b
Python
Any 'abc' string with at least one a and one b
Submitted by
anonymous
-
7 years ago
2017-04-15 05:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Timestamp
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-04-14 17:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Latex Chemical Molecule Identifier
Python
Updated: Identifies chemical formulae written with latex
Submitted by
anonymous
-
7 years ago
2017-04-11 18:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Latex Chemical formula
Python
Matches chemical formula written with latex, ex: H_2O, C_5H_12, Pb(NO_3)_2
Submitted by
Jingjie Yang
-
7 years ago
2017-04-11 18:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find Translations without textdomain
Python
Rexeg to find translations without textdomain. Primarelly made for Wordpress but you can change expression to include different textdomain wrapper. Currently they are set to: __(' TEXT $phpvars or anything else ') I used it in SublimeText to search for lines of PHP code, that's why regex is made f...
Submitted by
cure85
-
7 years ago
2017-04-10 13:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Apache log2
Python
Read regular expression for log
Submitted by
anonymous
-
7 years ago
2017-04-03 07:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Readstat in Brackets
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-03-31 18:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
uRD Accept
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-03-29 15:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
uWR Accept
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-03-29 15:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
divide a dice roll string into the number of dice, the dices sides and a constant
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-03-27 19:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
release version parser
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-03-25 21:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
crontab entry for hour
Python
Example 0,2,3,5-6,9-23/2
Submitted by
anonymous
-
7 years ago
2017-03-22 12:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get date from french text
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-03-20 02:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
How to get AC, Tax_id, optionally VAR_SEQ, and Sequence?
Python
1) (?ms)ID\s+.?^AC\s+(\w+);.?^OX\s+NCBI_TaxID=(\d+).?(?#how to optionally capture group ^FT\s+VAR_SEQ.?\/FTId=\w+\. ).?^\s{5}(.?)// 2) (?ms)(FT\s+VAR_SEQ.*?\/FTId=\w+\.) (1) can give AC, Tax_id and Sequence and these 3 fields are always present in an Entry, but VAR_SEQ field is optional. (2) gives ...
Submitted by
anonymous
-
7 years ago
2017-03-14 15:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MMDP_regex_workshop_simple_zip_code_example
Python
no description available
Submitted by
ghukill
-
7 years ago
2017-03-01 16:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Svn branch from svn look
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-02-26 16:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Frisky radio show parsing pattern
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-02-25 17:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TLO con multiples UPLOAD
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-02-13 08:43
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Ansible Host Var checking
Python
We had an issue where the "hosts=some_var" value could cause mass deployments if the wrong value was passed through. Specifically a comma with nothing surrounding it (i.e. "hosts=,"). This regex will allow us to fail when certain characters are present.
Submitted by
anonymous
-
7 years ago
2017-02-10 19:33
1
...
81
82
83
84
85
86
87
...
114
Password
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
(?=
.
*
[
A
-
Za
-
z
]
)
(?=
.
*
\d
)
[
A
-
Za
-
z
\d
$@$!%*?&#
]
{6,}
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Mohammed Elshaboury
-
9 months ago
2023-02-13 13:54