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...
2
Find scripts or css URIs
ECMAScript (JavaScript)
Given script or link tags, find and extracts URIs, excluding the double quotes
Submitted by
Rodrigo Kaveski
-
10 years ago
2
Filtrar inicio string
PCRE (PHP <7.3)
Filtrar inicio da string por BRN ou 201
Submitted by
Leandro
-
10 years ago
1
German ZIP Validation
ECMAScript (JavaScript)
Validates German ZIP codes
Submitted by
wehmoen
-
10 years ago
1
Timecode
Python
Regex to match standard timecode format.
Submitted by
Travis
-
10 years ago
2
Check if the title ends in is alid or not in java using regex
PCRE (PHP <7.3)
testing patterns http://stackoverflow.com/questions/30751885/check-if-a-string-ends-in-is-valid-or-not-in-java-using-regex
Submitted by
Sriharsha
-
10 years ago
-2
Host and domains
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Digit
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2
Parse "ipconfig /all" output and grab all MAC Adresses
PCRE (PHP <7.3)
Parse "ipconfig /all" output and grab all MAc Adresses.
Submitted by
j0inty
-
10 years ago
1
End of line - SJava
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
XML 1.0 dateTime values
Python
dateTime type matching regex for XML 1.0
Submitted by
DervishD
-
10 years ago
1
Test BigDecimal formatter
ECMAScript (JavaScript)
no description available
Submitted by
Wally
-
10 years ago
0
extract sql statements from sql profiler trace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
composer package
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
CSV parsing
PCRE (PHP <7.3)
matches the exact fields of CSV files supports: qouted fields quoted fields containing commas, doubble quoutes, and newlines empty fields empty records arbitrary white space in, and outside quoted fields
Submitted by
Austin
-
10 years ago
-1
date format for year 2000 above
Python
no description available
Submitted by
anonymous
-
10 years ago
-2
Validate credit card numbers
PCRE (PHP <7.3)
Visa, MasterCard, American Express, Diners Club, Discover, JCB
Submitted by
www.regular-expressions.info/creditcard.html
-
10 years ago
-2
IPv4
Python
allows for all legal IPv4 addresses
Submitted by
anonymous
-
10 years ago
1
Apache Access Log pattern
Python
Apache Web server log file format following the standard
Submitted by
Basil Tungekar
-
10 years ago
1
Error Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Address email
ECMAScript (JavaScript)
no description available
Submitted by
JS
-
10 years ago
1
...
46
47
48
49
50
...
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)