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,020 community submitted regex patterns...
2
get all between 2 lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
extract node values from xml string
PCRE (PHP <7.3)
extract node values from xml string
Submitted by
anonymous
-
9 years ago
2
Remove script tags from code
PCRE (PHP <7.3)
Regular expression to remove only the tags from the code. The regular expression only removes the tags, not the JS code inside the tag.
Submitted by
IvenMS
-
9 years ago
2
Positive Ints
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
mikrotik
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Diiff
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
the many john smiths
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Complete Machine Readable Passport pattern
PCRE (PHP <7.3)
Regex to identify and split the components of a machine readable passport pattern text
Submitted by
Igor Ferreira
-
9 years ago
2
Parse gMail: Get name and email addresses
ECMAScript (JavaScript)
get names and email address seperated out from comma seperated string received from gMail api
Submitted by
anonymous
-
9 years ago
2
get href
ECMAScript (JavaScript)
gets value of href
Submitted by
me
-
9 years ago
2
Separating Server and Domain from FQDN
PCRE (PHP <7.3)
no description available
Submitted by
Awan
-
9 years ago
2
match those lines whose first n chars contains 1+ non numeric
Python
1100582367|SDFDSFDSFDSFDSFDF GBC213WREW|RWEFSDFSDF 1100582377|DSFDSFDSFDSF 2NDG.S.D BIKADSFDSFDSFNO.421 1100582387|SDFSDFSDFDSF
Submitted by
sid
-
9 years ago
2
Local url detection
PCRE (PHP <7.3)
Detect if an url is local (even if written in an absolute way)
Submitted by
Jean Fenouil
-
9 years ago
2
Steam ID Regex
PCRE (PHP <7.3)
Will match and assign to named groups any form of identification for a steam user. Note that profile links and steamid64s are exclusive, preferring the more specific definition to the other, as well as is the case with customurls and full custom profile links.
Submitted by
jokleinn
-
9 years ago
2
fiddler raw to php array
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
URL with Port
ECMAScript (JavaScript)
no description available
Submitted by
rkl
-
9 years ago
2
Alphanumeric only
PCRE (PHP <7.3)
Allows only Uppercase, lowercase letters and numbers
Submitted by
anonymous
-
9 years ago
2
Course GUID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Capture 2 digits after a dash
ECMAScript (JavaScript)
Find all '-' and capture 2 following digits
Submitted by
Marie Imperial
-
9 years ago
2
DNS and lenght
PCRE (PHP <7.3)
Ideal for filter Domain with or without subdomain, and length less than 256.
Submitted by
Presta-Lab
-
9 years ago
1
...
870
871
872
873
874
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
\,
[
\n
|
\s
]
*
\]
)
|
(
\,
[
\n
|
\s
]
*
\)
)
/
g
Open regex in editor
Description
Regex used for finding trailing commas. Use for troubleshooting PHP 7.2 Codes
Submitted by
anonymous
-
2 years ago