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
Date format 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Date format 2 with forward slash /
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Regex for a single character
PCRE (PHP <7.3)
This can be used in webMethods for checking whether the string is not null or blank
Submitted by
anonymous
-
8 years ago
0
dxf filename matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
LatLong
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Get parameters from URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Hard Word-Wrap Text (@DanT)
PCRE (PHP <7.3)
Used in JavaScript, can create a string of hard word-wrap text. Expression used 80 as the word-wrap point, but it can be changed to suit your purpose. RegEx provided by @DanThomas. TAGS: @WordWrap @Word-Wrap
Submitted by
anonymous
-
8 years ago
0
MAC Address
ECMAScript (JavaScript)
Validates upper and lower case, allows all : or all -. Obtained here: http://stackoverflow.com/questions/4260467/what-is-a-regular-expression-for-a-mac-address ...
Submitted by
Pilcrow - http://stackoverflow.com/questions/4260467/what-is-a-regular-expression-for-a-mac-address
-
8 years ago
0
Prevent simple rm rf cp mv from breaking system or top level home directories
PCRE (PHP <7.3)
Prevent acidental deletion of important system files and user directories.
Submitted by
anonymous
-
8 years ago
0
sact_check_sp6438
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Validate password policy
ECMAScript (JavaScript)
Policy: At least five digits. No whitspaces. Two out of four groups - digits, lowercase, uppercase, special charterers
Submitted by
anonymous
-
8 years ago
0
Just tryna learn
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
One more time, finding a string between tags, sort of
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
original regex for cache images
PCRE (PHP <7.3)
this is the starting regex for breaking up the cache image url into it's parts
Submitted by
anonymous
-
8 years ago
0
Longitude Degrees Minutes Format
PCRE (PHP <7.3)
Regex to detect Degrees Minutes in coordinate system WGS84
Submitted by
Rafael Zujur
-
8 years ago
0
Decimal numbers above 1
PCRE (PHP <7.3)
Cannot enter 0 or a proper fraction
Submitted by
anonymous
-
8 years ago
0
if translation recognition
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find & Replace in URL String
PCRE (PHP <7.3)
Originally used as a search and replace in database fields to change the URL strings to point to .jpg's instead of .png's. Can be used generically as a search and replace in URL's.
Submitted by
anonymous
-
8 years ago
0
Phone + email
PCRE (PHP <7.3)
no description available
Submitted by
Jevgenijsblaus
-
8 years ago
0
Remove target attribute after URL in anchor tag.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
71
72
73
74
75
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
<a
(
.
+
?
(
href=
[
"'
]
(
.
+
?
)
[
"'
]
)?
)?
.
*
?
>
(
.
*
?
)
<
\/
a>
/
gi
Open regex in editor
Description
no description available
Submitted by
Honza BÅ™eÄka
-
10 years ago