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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 9,640 community submitted regex patterns...
1
SSN
PCRE (PHP <7.3)
Match full SSN
Submitted by
anonymous
-
4 years ago
1
Cuting Email
PCRE (PHP <7.3)
This little regex is taking an email and creating 2 group first is for before the @ sign and the second is for after the @ sign
Submitted by
anonymous
-
4 years ago
1
Barb's Stream Image Filter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Phone Number
PCRE (PHP <7.3)
123 456 7890 (123) 456 7890 (123) 456-7890 1234567890 123 456 7890 123 4567890...
Submitted by
anonymous
-
4 years ago
1
A 'Bulletproof' URL Regular Expression Parser
PCRE (PHP <7.3)
A well-documented, easy to modify bulletproof regular expression that matches complete URLs or URL components. Components include: Schema scheme/protocol**: use an OR statement to add FTP, etc....
Submitted by
anonymous
-
4 years ago
1
PSR-16 Cache Key
PCRE (PHP <7.3)
https://www.php-fig.org/psr/psr-16/ Key - A string of at least one character that uniquely identifies a cached item. Implementing libraries MUST support keys consisting of the characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding and a length of up to 64 characters. Implementing librarie...
Submitted by
anonymous
-
4 years ago
1
Dimensions from part descriptions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Email Validation
PCRE (PHP <7.3)
basic email validation
Submitted by
anonymous
-
4 years ago
1
Capturing everything up until the first _ or -
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Regex Replace params by space when value is null
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
nb - legacy section with marginal note finder
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
nb - legacy section/subsection with marginal note finder
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
nb - legacy section/subsection finder
PCRE (PHP <7.3)
no headings
Submitted by
anonymous
-
4 years ago
1
create or change one optional part to another
PCRE (PHP <7.3)
Skip match process when S exist, or remove optional left most target T, capture left and right part of T. Use case: if N is not exist, modify/change T to N, or create N. If any create or modify write operated, appending output N to right using subsitution "$1$2N".
Submitted by
anonymous
-
4 years ago
1
Star-Quantifier
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Molecules to atoms p1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Guid Query in Tc Files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
iso_names
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
dddd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Moneda con string v3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
...
448
449
450
451
452
...
482
Moneda con string v3
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
"'
]
?
)
(
\$
?
(
[
0
-
9
]
{1,3}
,
(
[
0
-
9
]
{3}
,
?
)*
[
0
-
9
]
{3}
|
[
0
-
9
]
{1,3}
)
(
(
.
[
0
-
9
]
{0,3}
)
[
0
-
9
]
{0,10}
)?
)
\1
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
3 years ago