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 11,760 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match PS1 & Cmd - Extract Cmd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-01 23:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
comment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-02 05:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
COMMENT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-02 05:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
perl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-02 06:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Name Validation
PCRE (PHP <7.3)
Regex that matches any kind of letter from any language \p{L} Unicode letter \s whitespace '.-
Submitted by
Haroun SMIDA
-
7 years ago
2016-09-02 08:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find lat longs
PCRE (PHP <7.3)
find lat longs
Submitted by
anonymous
-
7 years ago
2016-09-02 11:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
video id
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-02 13:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Quizlet Bolding to HTML
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-02 23:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Overwhelming Azure light
PCRE (PHP <7.3)
you're dead dude.
Submitted by
anonymous
-
7 years ago
2016-09-03 03:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ex. 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-03 17:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Telefonski broj EastEurope
PCRE (PHP <7.3)
Format broja za Balkan
Submitted by
Ja
-
7 years ago
2016-09-04 08:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
lista1
PCRE (PHP <7.3)
identificadores
Submitted by
LucasFranson_WesleyBernardo
-
7 years ago
2016-09-04 17:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SQL placeholder match
PCRE (PHP <7.3)
no description available
Submitted by
Andy Chentsov
-
7 years ago
2016-09-05 09:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
nla
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-05 12:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
select between square bracket also the bracket
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-05 22:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
DBPedia-highest-level-entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-06 05:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
^0*[1-9][0-9]*(\.[0-9]+)?|0+\.[0-9]*[1-9][0-9]*$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-06 06:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract anything between double $$ chars
PCRE (PHP <7.3)
no description available
Submitted by
ecabo
-
7 years ago
2016-09-06 09:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
tag not containing
PCRE (PHP <7.3)
get all tags not containing a given string
Submitted by
pan4ever
-
7 years ago
2016-09-06 12:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
html-strip
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-06 13:34
1
...
77
78
79
80
81
82
83
...
588
Regex
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
I
am
a
(
student
|
Engineer
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2021-09-20 15:14