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
Community Patterns
Search among 11,800 community submitted regex patterns...
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
PHP Class Capture Groups from symbol string for Class, Namespace, Operation (Mutator or Accessor), Target and Method Names
PCRE2 (PHP >=7.3)
The is helpful for parsing the symbolic reference of a PHP class object for validation or just determining the type and target for the operator. The expression is intended for working with classes and class methods, so the value on the right of the Paamayim Nekudotayim :: will alway be regarded as ...
Submitted by
Jacob Canote
-
3 years ago
(Last modified 3 years ago)
1
Email Validation
PCRE (PHP <7.3)
basic email validation
Submitted by
anonymous
-
3 years ago
1
Capturing everything up until the first _ or -
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Regex Replace params by space when value is null
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
nb - legacy section with marginal note finder
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
nb - legacy section/subsection with marginal note finder
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
nb - legacy section/subsection finder
PCRE (PHP <7.3)
no headings
Submitted by
anonymous
-
3 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
-
3 years ago
1
Star-Quantifier
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Molecules to atoms p1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Guid Query in Tc Files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
iso_names
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
dddd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Moneda con string v3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
NHL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
NHL NFL MLB
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
dot 10 check
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
3 years ago
1
...
517
518
519
520
521
...
590
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