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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 8,280 community submitted regex patterns...
0
date dd.mm.yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Number with optional decimal part
ECMAScript (JavaScript)
This regex checks for numbers with optional decimal part.
Submitted by
Pratik Sanyal
-
8 years ago
0
Newline matcher
Python
new line matcher
Submitted by
anonymous
-
8 years ago
0
Number Ranges
ECMAScript (JavaScript)
Select number ranges dynamically
Submitted by
@yosefh
-
8 years ago
0
Phone Number
ECMAScript (JavaScript)
For phone numbers with country code(Optional)followed by 10 digit phone number.
Submitted by
Kshama
-
8 years ago
0
Simple 'Good Enough' Javascript Regex (ASCII Only)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
fraction
Python
mixed or simple fraction with whitespace, optional dash as separator
Submitted by
anonymous
-
8 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
-
8 years ago
0
email-address
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
REGEX REVERSE
ECMAScript (JavaScript)
REGEX REVERSE
Submitted by
ljarray
-
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
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
0
filepath
ECMAScript (JavaScript)
finds filepath /asdfa/a
Submitted by
anonymous
-
8 years ago
0
UK Postcode (per government specification)
Python
UK postcode pattern as specified in offical document https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/283357/ILRSpecification2013_14Appendix_C_Dec2012_v1.pdf
Submitted by
anonymous
-
8 years ago
0
Resource ID validation regex
ECMAScript (JavaScript)
Validator for a typical resource ID string
Submitted by
WinCPP
-
8 years ago
0
Resource ID validator
ECMAScript (JavaScript)
Regex to validate a typical resource ID
Submitted by
WinCPP
-
8 years ago
0
File Extension
ECMAScript (JavaScript)
Get the file extension from a path regardless of dots in folder names leading to the file
Submitted by
Louis Capitanchik
-
8 years ago
1
...
147
148
149
150
151
...
414
domain/url
1
Regular Expression
Python
r"
(?:
http
(?:
s
?
)
://
)?
(?:
[
\w
]
+
\.
)+
[
a
-
zA
-
Z
]
+
(?:
:
\d
{1,5}
)?
"
gm
Open regex in editor
Description
Finda a domain or a url, with ot without a port in a string. Includes http and https
Submitted by
Shmuel Blitz
-
8 years ago