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
BigTimeRegex3
Python
no description available
Submitted by
anonymous
-
8 years ago
1
BigTimeRegex2
Python
no description available
Submitted by
anonymous
-
8 years ago
1
BigTimeRegex
PCRE (PHP <7.3)
Description
Submitted by
anonymous
-
8 years ago
1
Big Time Regex?
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
t() argument extractor
PCRE (PHP <7.3)
Extracts the string passed to the Drupal t() function and keeps the string in the 3rd capture.
Submitted by
Travis Uribe
-
8 years ago
1
pull version number
Python
no description available
Submitted by
anonymous
-
8 years ago
1
grab value from json
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Y or N
PCRE (PHP <7.3)
Single character Yes Or No Accepts Y|N|y|n
Submitted by
SoftwareSimian
-
8 years ago
1
10-digit number
PCRE (PHP <7.3)
Accepts a 10-digit whole number only
Submitted by
SoftwareSimian
-
8 years ago
1
InnerHTML
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
RGX lj-ARRAY
ECMAScript (JavaScript)
RGX lj-ARRAY
Submitted by
LJARRAY
-
8 years ago
0
REGEX REVERSE
ECMAScript (JavaScript)
REGEX REVERSE
Submitted by
ljarray
-
8 years ago
1
add ngInject
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
XLS Sheet :replacement with Regex
PCRE (PHP <7.3)
This expression will be useful to distinct group of Special characters making a blocker while creating the sheet though code e.g IF sheet name is given XXX/[abc]/YYY name through code.It must be renamed as such naming is not allowed in XLS.
Submitted by
Reshma Nehlani
-
8 years ago
1
Add ngInject to all files
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
javascript anonymous function matcher
PCRE (PHP <7.3)
only anon functions
Submitted by
anonymous
-
8 years ago
1
Phone Number
ECMAScript (JavaScript)
Between 8 and 10 Digits, no spaces
Submitted by
anonymous
-
8 years ago
1
JS Variable Parser
PCRE (PHP <7.3)
Parses variables for Javascript.
Submitted by
anonymous
-
8 years ago
1
Universal URL
PCRE (PHP <7.3)
Matches any forms of common URLs with a single regular expression
Submitted by
np.trivial
-
8 years ago
1
WRAP LONG STRING TO SPEC LENGTH
PCRE (PHP <7.3)
fixed we do not need \b 'cose it broke with quotes used in processed text
Submitted by
anonymous
-
8 years ago
1
...
674
675
676
677
678
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
(?:
"pin"
\s
*
:
\s
*
"
|
"secretCode"
\s
*
:
\s
*
"
|
<pin>
|
<secretCode>
)
)
[
0
-
9
]
{4}
(?:
(
"
|
<
\/
pin>
|
<
\/
secretCode>
)
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago