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,260 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get <NIC>
Python
Get NICs from string
Submitted by
anonymous
-
5 months ago
2023-05-14 06:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ
Python
This would appear to violate the premise of this famous StackOverflow answer, however this is not parsing as such, only matching or heuristic identification. Technically, all text is HTML if served to a browser in such a way that the browser chooses to interpret it that way, e.g. using a text/html ...
Submitted by
Alice Bevan-mcgregor
-
4 months ago
2023-06-15 18:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
emoji-test.txt
Python
emoji-test.txt
Submitted by
anonymous
-
a month ago
2023-08-18 12:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match emoji in emoji-zwj-sequences.txt
Python
Match emoji in emoji-zwj-sequences.txt
Submitted by
anonymous
-
a month ago
2023-08-18 14:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Golang
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Submitted by
anonymous
-
a month ago
2023-09-02 02:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
HGVS - ClinVar Submission
Python
HGVS Nomenclature Check for ClinVar Submissions
Submitted by
anonymous
-
a month ago
2023-09-04 12:57
(Last modified a month ago)
2023-09-04 12:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Python Print String arg extraction
Python
Extract substitution parameters from python print strings works with fstrings old style format strings old style %(variable) strings
Submitted by
Giles Knap
-
7 days ago
2023-09-24 18:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Improvement on Python Print substitution argument matching
Python
Get the python substitution strings from inside of print statements. Replace the whole substitution string with {{ ArgumentName }} for use in a Jinja2 rendering. Supports fstrings...
Submitted by
Giles Knap
-
6 days ago
2023-09-25 09:20
-1
4 upvotes, 5 downvotes (score 18.9%) (You must be signed in to vote)
Twitter #hashtags
Python
Using the twitter API, take a tweet object and find & link #tags to embed in HTML
Submitted by
@triplec1988
-
10 years ago
2013-10-17 17:40
-2
4 upvotes, 6 downvotes (score 16.8%) (You must be signed in to vote)
Between two strings
Python
Awesome explanation of nested lookbacks
Submitted by
OnlineCop
-
8 years ago
2015-10-27 19:18
-1
3 upvotes, 4 downvotes (score 15.8%) (You must be signed in to vote)
text beetween text
Python
no description available
Submitted by
karol
-
9 years ago
2015-01-23 10:35
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Remove litteral \n
Python
This regex remove \n like litteral string not a newline
Submitted by
Nkio
-
9 years ago
2014-07-07 11:40
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
test
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-10-21 23:33
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
test
Python
test
Submitted by
boag
-
8 years ago
2015-05-12 00:08
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
XML 1.0 dateTime values
Python
dateTime type matching regex for XML 1.0
Submitted by
DervishD
-
8 years ago
2015-06-15 15:49
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
str with whitespace not starting with space
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-06-25 08:26
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
phone number russia
Python
phone number without spaces or hyphens +7YYYXXXXXXX
Submitted by
vscoder
-
8 years ago
2015-09-24 10:22
-4
4 upvotes, 8 downvotes (score 13.8%) (You must be signed in to vote)
Matches percentage with any number of digits
Python
Only captures value for converting percentage to decimal. Returns empty if percentage but no value. no match = no percentage found
Submitted by
sharkey
-
8 years ago
2015-06-10 19:26
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
Basic grammar for regex matching of simplistic Makefiles
Python
This expression should both normal and wildcard targets and rules wrapped in simple sub-shell or varriable substitution enclosures.
Submitted by
Robert Butler <me@r-butler.net>
-
9 years ago
2014-08-13 01:11
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
Email Validation
Python
Full email validation with optional "." "-" "_"
Submitted by
Jakub Stasiak
-
8 years ago
2015-12-01 22:35
1
...
28
29
30
31
32
33
34
...
113
LOS Number
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
(?!
$
)
[
123
]
{0,1}
\d
(
\.
\d
{1,2}
)
(?!
(
\s
){0,3}
%
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2021-01-28 23:12