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 14,180 community submitted regex patterns...
1
Matches Everything
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Поиск href в строке
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
gas vars
PCRE (PHP <7.3)
finds definitions of gas vars in map edits (SS13 /tg/station)
Submitted by
duncathan
-
9 years ago
1
Use capturing groups to grab CSV columns
PCRE (PHP <7.3)
This regex gets the first, the last and the middle part as capturing groups and matches the trailing semicolon as a non-capturing group. This allows you to resort CSV columns.
Submitted by
Unkulunkulu
-
9 years ago
1
Phone Number with no letters or spaces
PCRE (PHP <7.3)
Phone Number with no letters or spaces
Submitted by
JP Hunter
-
9 years ago
1
CORS regex filter
PCRE (PHP <7.3)
Regex to validate a Access-Control-Allow-Origin value
Submitted by
anonymous
-
9 years ago
1
Complex Password
PCRE (PHP <7.3)
Check if there's at least a lowercase, uppercase, digit and punctuation mark.
Submitted by
anonymous
-
9 years ago
0
Example where regex is not matching device id value
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Replace <?= $variable ?> with <?= purify($variable) ?>
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
1
reg example
Python
no description available
Submitted by
horangs
-
9 years ago
1
MRZ Line 1
PCRE (PHP <7.3)
Machine Readable passport rule for first line
Submitted by
Igor Ferreira
-
9 years ago
1
MRZ Line 2
PCRE (PHP <7.3)
Machine readable passport rule for the second line
Submitted by
Igor Ferreira
-
9 years ago
1
LDAP basedn check
PCRE (PHP <7.3)
Check a given LDAP base DN with or without a hostname
Submitted by
Daywalker
-
9 years ago
1
Mexico Phones Number
PCRE (PHP <7.3)
telefonos en mexico
Submitted by
whereisanddy
-
9 years ago
1
weapons list
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
making things into columns
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
finding phone numbers
PCRE (PHP <7.3)
we know phone numbers are [one group of 3 numbers] [another group of 3 numbers] [a group of 4 numbers] we use D? as a way to find nondigits like the parenthesis This should also work: \(?\d{3}\)?\s?-?.?\d{3}\
Submitted by
anonymous
-
9 years ago
2
the many john smiths
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
563
564
565
566
567
...
709
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?:
\A
|
;
)
(?:
\s
*
)
(
(?:
%macro
|
%inc
(?:
lude
)?
\b
|
data
|
proc
)
[^
;
]
+
)
/
g
Open regex in editor
Description
Basic sas boundaries, %macro proc %include etc
Submitted by
Leo Lopes
-
9 years ago