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,000 community submitted regex patterns...
1
Extract CN from DN (CanonicalName from DistinguishedName)
PCRE (PHP <7.3)
Given a DistinguishedName string, extracts the CN portion, coping with escaped characters
Submitted by
anonymous
-
9 years ago
1
Panda
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
MERS-CoV
PCRE (PHP <7.3)
Search text for MERS-CoV references
Submitted by
anonymous
-
9 years ago
1
Find_Anything_between_sequences
PCRE (PHP <7.3)
This will find anything between 2 sequences and only return the value
Submitted by
BTW
-
9 years ago
1
extract arguments from a javascript function
PCRE (PHP <7.3)
extract arguments from a javascript function
Submitted by
SS
-
9 years ago
1
Google extract id
PCRE (PHP <7.3)
no description available
Submitted by
Razvan Suciu
-
9 years ago
1
IP address validation
PCRE (PHP <7.3)
shortest ip validation regex
Submitted by
Giacomo.
-
9 years ago
1
Find All Types In Salesforce's Package.xml
PCRE (PHP <7.3)
This regex will find all the types definitions following the
Submitted by
Jerome Russ
-
9 years ago
1
get instance name
PCRE (PHP <7.3)
takes a url and takes the instance name after the base url
Submitted by
amitair
-
9 years ago
1
isDomainValid
PCRE (PHP <7.3)
isDomainValid
Submitted by
anonymous
-
9 years ago
1
Negative
PCRE (PHP <7.3)
Negation in pattern example
Submitted by
Kutuzov Alexey <Kutuz27>
-
9 years ago
1
fastest mac address match
PCRE (PHP <7.3)
matches format: a0:39:f7:83:19:c3 detail at: http://nabtron.com/
Submitted by
nabtron
-
9 years ago
1
Teste com espaços
ECMAScript (JavaScript)
no description available
Submitted by
JEIx
-
9 years ago
1
Match things between quotes in Bluecoat log file
Python
Mostly for matching things that match bluecoat category.
Submitted by
Thomas
-
9 years ago
1
Sabre FOP Parse
PCRE (PHP <7.3)
no description available
Submitted by
Max
-
9 years ago
1
Sabre Signature Line Parsing
PCRE (PHP <7.3)
no description available
Submitted by
Max
-
9 years ago
1
Extract Query Parameter
ECMAScript (JavaScript)
Break URLs into three parts Url ? QueryString
Submitted by
Sachin Jain
-
9 years ago
1
Password
PCRE (PHP <7.3)
min length 6 and 1 number 1 epecial charachtor
Submitted by
anonymous
-
9 years ago
1
JS No space title
ECMAScript (JavaScript)
Numbers, letters, and underscore with no special characters, no spaces, no leading number, and no leading or trailing underscore for use in KnockoutJS (or any JS validation).
Submitted by
Owen Dismuke
-
9 years ago
1
Architectural and construction CSI specification
ECMAScript (JavaScript)
CSI Documentation usually formatted as ## ## ##(.##.##.##) this extracts the CSI number
Submitted by
Ron E. Allen Apsis0215
-
9 years ago
1
...
170
171
172
173
174
...
900
Community Library Entry
0
Regular Expression
Python
r"
^
(?:
(?P<protocol>
.
+
)
://
)?
(?:
(?P<sub>
.
+
)
\.
)?
(?P<domain>
.
+
)
\.
(?P<tld>
[
a
-
zA
-
Z
]
+
)
(?P<path>
/
(?:
(?:
.
*
?
)
(?:
(?=
\?
)
?
)
)?
)?
(?P<query>
\?
.
+
?
)?
$
"
m
Open regex in editor
Description
pain
Submitted by
anonymous
-
3 years ago