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...
1
Matching an Saudi Postal Code
PCRE (PHP <7.3)
Saudi Postal Code has five digits, if you would to have more information check the below: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ First Digit (Postal Regions): "The postal region number is represented by the first digit of the postal code" ...
Submitted by
Fares Alarabi
-
7 years ago
0
firebase downloadURL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Parsing Search Impression Share Lost
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Phone numbers
PCRE (PHP <7.3)
Regular expression for phone numbers validation that formatted with mukeshsoni/country-telephone-data
Submitted by
lyhoshva
-
7 years ago
0
URL Matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Search for .onion domains
PCRE (PHP <7.3)
Does what it says on the tin.
Submitted by
anonymous
-
7 years ago
0
Matching any duplicated words
ECMAScript (JavaScript)
By Lynda.com
Submitted by
Fares Alarabi
-
7 years ago
0
Matching Multiple Names as First & Last Name
ECMAScript (JavaScript)
This Regex will help to match any first & last name from paragraph as one line, if you would to do the matching based on multi lines, add "gm" in the last of this query. /([A-Za-z0-9]\w+\s\w+)+/gm
Submitted by
Fares Alarabi
-
7 years ago
0
lightsail cli scp argument parsing
Golang
no description available
Submitted by
anonymous
-
7 years ago
0
Voltage
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
all letters but only letters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
match nested quotes
PCRE (PHP <7.3)
match nested quotes
Submitted by
anonymous
-
7 years ago
0
Newman-redeem-batch
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Day of month
PCRE (PHP <7.3)
Check a day of month value (match with integer value between 1 and 31).
Submitted by
anonymous
-
7 years ago
0
regex installing - update tool
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Word Wrap examples
PCRE2 (PHP >=7.3)
Four examples of word wrapping at the 80 character mark, each one taking fewer steps than the last. Comment and uncomment lines with # to see the difference between versions. Optimization discussions welcome!
Submitted by
OnlineCop
-
7 years ago
(Last modified a year ago)
0
Single curly braces, but not doubles
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Codice Fiscale
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Email Regex
ECMAScript (JavaScript)
Allow for emails with 2 '.' after the '@' symbol
Submitted by
anonymous
-
7 years ago
0
Skip line contain HTML element attribute which have a URL value
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
1
...
578
579
580
581
582
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?<Loop>
(?<NewBlock>
(?:
(?:
^
[
\s
]
*
\n
|
^
(?:(?!
\/\*
)
.
)+
\n
|
^
(?:(?!
\/\*
)
.
)+
)
)+
)?
(?<OldBlock>
(?:
\/\*
.
+
\*\/
|
(?:
\/\*
.
*
\n
)
(?:(?:
^
[
\s
]
*
\n
|
^
(?:(?!
\*\/
)
.
)+
\n
|
^
(?:(?!
\*\/
)
.
)+
))+
\*\/
)
)?
)+
/
gmx
Open regex in editor
Description
Real Shit
forgot why I started making this midway thru
Submitted by
anonymous
-
5 years ago