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
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
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
斗地主
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
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
Quote Javascript-style hash to convert to valid JSONP (JSON with padding)
PCRE (PHP <7.3)
Add single quotes to unquoted parts of a valid JS hash so it can be parsed with JSON decoders. Tries to keep boolean and numeric values unquoted Note: It will not handle certain edge-cases You might need to clear the trailing commas
Submitted by
anonymous
-
7 years ago
0
Trading symbol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Manu Version Parse talents and winrates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
parse talents
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Regex tripplet
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
),(
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Gpon onu/ethernet uni (2v)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Hashtag Tokenizer
PCRE (PHP <7.3)
A regex I use to Tokenize Hashtags in common textflow
Submitted by
juergen
-
7 years ago
0
Require Node.js regex advanced JS
ECMAScript (JavaScript)
no description available
Submitted by
Denis Efremov <efremov.a.denis@gmail.com> [FORK]
-
7 years ago
0
Youtube Updated 2018 Python
Python
no description available
Submitted by
Denis Efremov <efremov.a.denis@gmail.com>
-
7 years ago
0
Youtube Updated 2018 JS
ECMAScript (JavaScript)
no description available
Submitted by
Denis Efremov <efremov.a.denis@gmail.com>
-
7 years ago
0
regex of number
ECMAScript (JavaScript)
15 digits for integer real number: 18 digits for before-dot part (*what it's called?)
Submitted by
anonymous
-
7 years ago
0
Youtube Updated 2018
PCRE (PHP <7.3)
no description available
Submitted by
Denis Efremov <efremov.a.denis@gmail.com>
-
7 years ago
0
Require Node.js regex
Python
no description available
Submitted by
anonymous
-
7 years ago
0
simple match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
526
527
528
529
530
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?<=
groups
\/
)
(?<id>
[
0
-
9
]
+
)
|
(?<=
groups
\/
)
(?<username>
[
a
-
zA
-
Z
\.\_
0
-
9
]
+
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago