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,040 community submitted regex patterns...
0
Find a quoted unix style path in text block
Python
Find a quoted unix style path in text block, breaking the text block into constituent parts, 1 before the quoted path starts 2 the path 3 the filename 4 whats left
Submitted by
AndyGif
-
9 years ago
0
Domain Name Validation
PCRE (PHP <7.3)
no description available
Submitted by
Vinay
-
9 years ago
0
Jade - parse includes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
zepit multiline
ECMAScript (JavaScript)
no description available
Submitted by
antoine
-
9 years ago
0
Date expression
ECMAScript (JavaScript)
yyyy-mm-dd
Submitted by
Alan
-
9 years ago
0
why
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
emails
PCRE (PHP <7.3)
no description available
Submitted by
Plamen
-
9 years ago
0
Emails
PCRE (PHP <7.3)
find emails(emicha@mail.bg)
Submitted by
anonymous
-
9 years ago
0
Google Analytics Campaign String
PCRE (PHP <7.3)
Match a Google Analytics Campaign query string
Submitted by
anonymous
-
9 years ago
0
Telefonnummer E.123
ECMAScript (JavaScript)
no description available
Submitted by
Frank Mattes
-
9 years ago
0
Strip the Headers from a response where JSON is present
ECMAScript (JavaScript)
HTTP/1.0 404 Not Found Cache-Control: no-cache Content-Type: application/json {"validation_message":'...'} ...
Submitted by
John B.
-
9 years ago
0
phone number
Python
no description available
Submitted by
Dries Werckx
-
9 years ago
0
Seletor de qualquer texto com espaço
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Cartão de Crédito ELO
ECMAScript (JavaScript)
Realiza a identificação dos novos BIN's de cartão de crédito ELO.
Submitted by
mkrypka
-
9 years ago
0
kfz
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Firstname Lastname(double)
ECMAScript (JavaScript)
Example: ANDA IVANOVA-KRIVONOGOVA
Submitted by
KSrGEAR
-
9 years ago
0
Find in string template with regular expression
PCRE (PHP <7.3)
In string find regular expression or data type with limiters (start and end or summary count of symbols)
Submitted by
Bohdanov Mikhail
-
9 years ago
0
DD-MM-YYYY
ECMAScript (JavaScript)
Any date that as a valid month, a valid date and a year composed of 4 numbers. You can change the '-' caracter to any divider you want.
Submitted by
anonymous
-
9 years ago
0
replace-last-comma with semicolon
PCRE (PHP <7.3)
replace-last-comma with semicolon similar to http://stackoverflow.com/questions/3829483/how-to-replace-last-occurrence-of-characters-in-a-string-using-javascript
Submitted by
Michael Freidgeim
-
9 years ago
0
Reg Exp to Remove all special Characters
PCRE (PHP <7.3)
This regular expression removes all special characters including whitespaces which are allowed in windows path name, file name and folder name.
Submitted by
Anirudh
-
9 years ago
1
...
49
50
51
52
53
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?:
\"
(?:
(?<=
\"
(?=
[^
\n
]
)
)
[^
\n
]
+
?
(?=
(?<!
\\
)
)
(?=
\"
)
)?
\"
)
|
(
\B
'
(?:
(?<=
'
(?=
[^
\n
]
)
)
[^
\n
]
+
?
(?=
(?<!
\\
)
)
(?=
'
)
)?
'
)
/
gm
Open regex in editor
Description
All Strings on One Line
Php
java
javascript
python
escapes all regex
sq inside dq pair
dq insside sq pair
Submitted by
kai gouthro
-
a year ago
(Last modified a year ago)