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
Simple 'Good Enough' Javascript Regex (ASCII Only)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
fraction
Python
mixed or simple fraction with whitespace, optional dash as separator
Submitted by
anonymous
-
9 years ago
0
Valid UK postcode check
Python
Rather long, but pretty accurate, matches on BS7666 alpha num pattern. https://en.wikipedia.org/wiki/Postal_code#UK
Submitted by
anonymous
-
9 years ago
0
phone number spain
PCRE (PHP <7.3)
^(0034|\+34)?(\d\d\d)-? ?(\d\d)-? ?(\d)-? ?(\d)-? ?(\d\d)$
Submitted by
elPatxificador
-
9 years ago
0
Location Hours String
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
email-address
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
http://filehippo.com/download_adobe_air/history
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
IP Address Capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
9 years ago
(Last modified a year ago)
0
My phone number
PCRE (PHP <7.3)
13564148140
Submitted by
Stan
-
9 years ago
0
REGEX REVERSE
ECMAScript (JavaScript)
REGEX REVERSE
Submitted by
ljarray
-
8 years ago
0
dash then anything
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Remove all special chars from string
PCRE (PHP <7.3)
Remove all special chars from string
Submitted by
binary_fm
-
8 years ago
0
SearchForPhotoName
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
a
ECMAScript (JavaScript)
a
Submitted by
a
-
8 years ago
0
HH:MM
ECMAScript (JavaScript)
Validates 24 hour formmatted hours and minutes
Submitted by
anonymous
-
8 years ago
0
MRZ 3 lines pattern
PCRE (PHP <7.3)
Machine readable pattern to validate ID card informations
Submitted by
Igor Ferreira
-
8 years ago
0
MRZ 3 lines Regex (OCR)
PCRE (PHP <7.3)
Regex to recognize and validate full machine readable information from ID cards. Version for OCR.
Submitted by
Igor Ferreira
-
8 years ago
0
Parse JSON values
ECMAScript (JavaScript)
Parses JSON keys and values between quotation marks, supports escaping the quotation marks by backspashes
Submitted by
anonymous
-
8 years ago
0
fiter plain text from plain text + html content
ECMAScript (JavaScript)
It fiters plain text from plain text + html content, the input has the shape: "plain text html content" It keeps only the plain text at the beginning.
Submitted by
gugol
-
8 years ago
1
...
359
360
361
362
363
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^\d
{4}
$
/
gm
Open regex in editor
Description
dotorgpower.com
Submitted by
anonymous
-
4 months ago