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
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
0
email Regex for .com and/or .co.uk
ECMAScript (JavaScript)
this regex matches for .com and/or .co.uk
Submitted by
Michael Kindle
-
8 years ago
0
Character sequesnce inside single quotes
ECMAScript (JavaScript)
serch the character sequesnce inside single quotes
Submitted by
Shridutt KOthari
-
8 years ago
0
socket.io ipv4 user view
ECMAScript (JavaScript)
socket io ipv6 and ipv4 to ipv4 convector
Submitted by
bublik462
-
8 years ago
0
JSON Key Value Matching
PCRE (PHP <7.3)
no description available
Submitted by
Jargon
-
8 years ago
0
Vue Devtools - Prop type constructor name
ECMAScript (JavaScript)
See this GitHub Issue: https://github.com/vuejs/vue-devtools/issues/125
Submitted by
Akryum
-
8 years ago
0
parse
ECMAScript (JavaScript)
parse module
Submitted by
mr.kiddo
-
8 years ago
0
shares
ECMAScript (JavaScript)
odsaihf
Submitted by
aoifsh
-
8 years ago
0
old model bindin
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Matches operator (+-*/)
ECMAScript (JavaScript)
This regex escapes the 4 main signs of operations, -*/+. Good for calculating
Submitted by
anonymous
-
8 years ago
0
itcareers.apex link
Python
link making
Submitted by
chandni
-
8 years ago
0
London postcodes
PCRE (PHP <7.3)
No perfect, missing GIR postcodes, but should match most of the postcodes for extraction. It's not a postcode validator, just an extractor, validation should be done after extraction.
Submitted by
anonymous
-
8 years ago
0
UK Postcode Area
PCRE (PHP <7.3)
Strips out the postcode area (first one or two letters e.g. [WA]1) from a UK postcode.
Submitted by
Martin E
-
8 years ago
0
Extract domain name
PCRE (PHP <7.3)
extracting domain name from url
Submitted by
anonymous
-
8 years ago
0
Extract ClassName and Unicode fontawesome list
PCRE (PHP <7.3)
no description available
Submitted by
M.Nizam
-
8 years ago
0
Awstats
ECMAScript (JavaScript)
Reg exp for directory/files of pdf etc
Submitted by
MikeMcCool
-
8 years ago
1
...
360
361
362
363
364
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
[
a
-
z
]
+
\:\/
+
)
(
[^
\/
\s
]
+
)
(
[
a
-
z0
-
9
\-
@
\^
=%&;
\/
~
\+
]
*
)
[
\?
]
?
(
[^
\#
\r\n
]
*
)
#
?
(
[^
\#
\r\n
]
*
)
/
ig
Open regex in editor
Description
Reference:
https://stackoverflow.com/a/34669019/369727
Submitted by
https://danlevy.net/
-
4 years ago