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 15,580 community submitted regex patterns...
-1
Find linked files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
ignore log spaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
beforeAugustC4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Phone Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Extract max-width / min-width from CSS media query
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
GHDC PMDET
PCRE (PHP <7.3)
no description available
Submitted by
Corilus
-
6 years ago
0
Does not contain
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Gordon post find and replace
PCRE (PHP <7.3)
no description available
Submitted by
Kevin McKernan
-
6 years ago
0
Dangerous Dogs - Lat and Long
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Select in-between excluding edges
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
No Tag in URL RegEx
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Match full/missing closing tag of <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
regCheck
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
FP-Address Regex v3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
converting mocha `assert.strictEqual()` to jest `expect().toEqual()`
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Match <a> tag with no/invalid closing tag
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Password Validation
PCRE (PHP <7.3)
At least 6 chars with 1 upper/lower case letter and 1 special char
Submitted by
anonymous
-
6 years ago
0
CharacterCount
PCRE (PHP <7.3)
Contains between 6 and 20 characters
Submitted by
anonymous
-
6 years ago
0
Lat, long regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Latitude Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
452
453
454
455
456
...
779
t() argument extractor
1
Regular Expression
PCRE (PHP <7.3)
/
t
\s
*
\(
(
'
|
"
|
<<<
(
\w
+
)
)
(
[
\s\S
]
+
?
)
(?:
(?<!
\\
)
\1
|
\2
)
/
Open regex in editor
Description
Extracts the string passed to the Drupal t() function and keeps the string in the 3rd capture.
Submitted by
Travis Uribe
-
8 years ago