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,020 community submitted regex patterns...
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
0
djfgdfg
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
CIELO 03
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
BĂ©lgica
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Regex dia cuxaro
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Physical Units
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Jas - Regex matching ReportName
PCRE (PHP <7.3)
Jas asked me for help creating this regex
Submitted by
Scott Young
-
8 years ago
1
...
16
17
18
19
20
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
<a
(
.
*
)
href=
(
"
|
'
)?
(
.
*
?
)
domainname
\.
com
(
.
*
)?
(
"
|
'
)
)
(
(
\s
)+
target=
(
"
|
'
)?
_blank
(
"
|
'
)?
){1}
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago