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 11,640 community submitted regex patterns...
0
Match double quoted or single quoted multi line string in code.
Python
This will allow for valid string parsing via a regex in popular interpreted languages like Lua, Python and Ruby.
Submitted by
Siddharth Gupta
-
7 years ago
0
斗地主
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
DDMMMYY w/Leap Year Check
PCRE (PHP <7.3)
Validate dates in the formats of 1Feb20/01Feb20/29FEB20 with the 29th of February invalid on non-leap years.
Submitted by
anonymous
-
7 years ago
0
UK postcode with spaces optional
PCRE (PHP <7.3)
Sourced from https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/488478/Bulk_Data_Transfer_-_additional_validation_valid_from_12_November_2015.pdf and modified to allows spaces to be optional
Submitted by
anonymous
-
7 years ago
0
YYYYMMDD w/Leap Year Check
PCRE (PHP <7.3)
Validate dates in the format of 20201231 with leap year check on the 29th of February
Submitted by
anonymous
-
7 years ago
0
DDMMMYYYY w/Leap Year Check
PCRE (PHP <7.3)
Format of 29Feb2020 or 29FEB2020 with leap year check
Submitted by
anonymous
-
7 years ago
0
step 1 test
PCRE (PHP <7.3)
unit tests
Submitted by
anonymous
-
7 years ago
0
Selectie text intre stringuri
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Extract time from seg filename
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Seg #
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Selectie text intre stringuri
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
wtf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
BSOD
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Mixplorer Bookmarks
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
MYSQL params
PCRE (PHP <7.3)
Obtains the SQL params
Submitted by
anonymous
-
7 years ago
0
Phone numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
中国车牌
Python
no description available
Submitted by
anonymous
-
7 years ago
0
Detection of parties
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
At least one character and one digit, ignoring the order in which they appear.
PCRE (PHP <7.3)
At least one character and one digit, ignoring the order in which they appear.
Submitted by
Loïc [TwystO] Liné
-
7 years ago
0
Extracting a price from a string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
120
121
122
123
124
...
582
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(?'col'
\D
)
(?'dig'
\d\d
)
)
$
/
mg
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago