Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
0
UAE Phone Numbers
Python
no description available
Submitted by
Sebastian
-
10 years ago
1
Line parser (split at sentence)
PCRE (PHP <7.3)
Splits a line into three parts: completed sentences from the previous line, any complete sentences, and any uncompleted sentences.
Submitted by
E.Gu
-
10 years ago
10
MikroTik FireWall
PCRE (PHP <7.3)
Regex used in Splunk to extract fields from Mikrotik FW. NOTES: Mikrotik must be configured to use "BSD Syslog" format FW rules must add, as log prefix, the action: drop accep...
Submitted by
HappyIdeasMaker
-
10 years ago
0
File name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Any telephone number with region and country in any format
ECMAScript (JavaScript)
Matches any telephone number with region parentesis, or separated by points or dash or spaces
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
10 years ago
1
guto
PCRE (PHP <7.3)
gutoregex
Submitted by
guto
-
10 years ago
1
[php] url hard match
PCRE (PHP <7.3)
preg_math_all only. ex.: http://doman.com, http://doman.com/, http://doman.com/?query=1,http://doman.com?query=1, domain.com, doman.com?query=1 and other
Submitted by
Redfern.89
-
10 years ago
1
Find all BR tags in a string
ECMAScript (JavaScript)
Find all BR tags in a string
Submitted by
Mahima
-
10 years ago
1
URL with ASP Cookieless SessionId
PCRE (PHP <7.3)
This matches a ASP Cookieless SessionId. Useful if, for example, after deprecating Cookieless sessions you want to redirect any clients with a cached sessionId to the plain url.
Submitted by
Zumey
-
10 years ago
1
Any telephone number with at least 6 digits
PCRE (PHP <7.3)
Telephone number can come with extra characters to denote country, region, etc
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
10 years ago
2
Gentoo atom parsing
PCRE (PHP <7.3)
no description available
Submitted by
selurvedu
-
10 years ago
1
dropping first digit (2) andy advice?
PCRE (PHP <7.3)
\_\d(.+) for _2015041122
Submitted by
jbt
-
10 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Parsing the response of an oauth provider for token and session
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
year match
PCRE (PHP <7.3)
2010-2012
Submitted by
tazbir
-
10 years ago
-2
Find a IPV4
ECMAScript (JavaScript)
no description available
Submitted by
Jon Dotsoy
-
10 years ago
1
decimal or not number
PCRE (PHP <7.3)
acepts 1.000 and 1000
Submitted by
jvs
-
10 years ago
1
Repeating Group
PCRE (PHP <7.3)
There are 2 segments within this data that start with REF* and end with a tilde (~). I can capture one of them but not both. I've read and cant seem to figure this one out. I DO need to preface with the NM1*03 piece.
Submitted by
Chris.
-
10 years ago
2
Extract info from anime filename
ECMAScript (JavaScript)
no description available
Submitted by
Haellsigh
-
10 years ago
1
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
846
847
848
849
850
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
https
?
:
\/\/
(?:
www
\.
)?
(
[
-a
-
zA
-
Z0
-
9@:%._
\+
~#=
]
{2,256}
\.
[
a
-
z
]
{2,6}
\b
)*
(
\/
[
\/
\d\w
\.
-
]
*
)*
(?:
[
\?
]
)*
(
.
+
)*
/
gi
Open regex in editor
Description
no description available
Submitted by
memboc
-
9 years ago