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 14,640 community submitted regex patterns...
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Version Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-12 15:29
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
ip
Python
ip-adreese
Submitted by
anonymous
-
7 years ago
2016-05-12 15:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
body followed by plain space
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-12 12:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get everything after the last slash
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-12 11:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Full Name
PCRE (PHP <7.3)
2 or more words allowed in any alphabet with "'" and "-" symbols (not more than one successively) and dot in the end of any word.
Submitted by
anonymous
-
7 years ago
2016-05-12 10:16
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Comment Finder (Java/C#)
PCRE (PHP <7.3)
Search comment in Java and C# Code
Submitted by
Peter Boccia
-
7 years ago
2016-05-12 10:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Original regex
Python
no description available
Submitted by
Malhar
-
7 years ago
2016-05-12 04:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
deu
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-12 03:55
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Names
PCRE (PHP <7.3)
For US names
Submitted by
anonymous
-
7 years ago
2016-05-11 23:04
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regex numbers and spaces
PCRE (PHP <7.3)
Get numbers and spaces from string.
Submitted by
Emmanuel Tabares
-
7 years ago
2016-05-11 22:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Company Names
PCRE (PHP <7.3)
Regular company names
Submitted by
jamiros & nrajchevski
-
7 years ago
2016-05-11 22:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Comany Names
PCRE (PHP <7.3)
Common company names with &, -
Submitted by
jamiros & nrajchevski
-
7 years ago
2016-05-11 22:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
INNERTEXT -- from HTML TAGS
PCRE (PHP <7.3)
HTML INNERTEXT()
Submitted by
zigray
-
7 years ago
2016-05-11 21:53
3
5 upvotes, 2 downvotes (score 35.9%) (You must be signed in to vote)
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-11 21:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Assinatura
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-11 20:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
BE phone number format
PCRE (PHP <7.3)
BE phone number format
Submitted by
GM
-
7 years ago
2016-05-11 18:44
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Line feeds to html paragraphs
PCRE (PHP <7.3)
Take the text from a textarea and surround text delimited with newlines with p-tags
Submitted by
Bob M
-
7 years ago
2016-05-11 17:51
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-11 17:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-11 17:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email Finder
ECMAScript (JavaScript)
Finds all emails including .co.uk like ones
Submitted by
Oliver
-
7 years ago
2016-05-11 15:57
1
...
523
524
525
526
527
528
529
...
732
For Version Number
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
^
(
\d
+
)
(
\.
\d
+
)
(
\.
\d
+
)
)
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
Gokul
-
7 years ago
2016-05-02 20:34