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
Community Patterns
Search among 11,980 community submitted regex patterns...
0
assoc_ff_solucao
PCRE (PHP <7.3)
identifies ff in assoc
Submitted by
anonymous
-
2 years ago
0
Numbers, units, and tolerances
PCRE2 (PHP >=7.3)
This regular expression matches a quantity and tolerances, if they exist.
Submitted by
nessalc
-
2 years ago
(Last modified 2 years ago)
0
C######
PCRE2 (PHP >=7.3)
get C with numbers string
Submitted by
Didier
-
2 years ago
0
Extract American Phone Number
PCRE2 (PHP >=7.3)
Will verify a number that matches the pattern: [US International Code], [3-digit Area Code], [3 digits], [4 digits] And will return matches for all the digits together as a string (useful for href="tel:{number"), and each component of the number (including US International Code
Submitted by
MegaSpaceHamlet
-
2 years ago
0
Repeated numbers
PCRE2 (PHP >=7.3)
Checks if there are repeated numbers in a number. Ex. 1223 ==> Has the number 2 repeated
Submitted by
maPer77
-
2 years ago
0
All
PCRE2 (PHP >=7.3)
all
Submitted by
anonymous
-
2 years ago
0
Strip Azure Devops merge commit for fit changelog
PCRE (PHP <7.3)
Using the right headerPattern that can correctly parse either the merge message or the commit message I was able to workaround the issue
Submitted by
anonymous
-
2 years ago
0
instagram regex url get shortcode all type url
PCRE (PHP <7.3)
Get shortcode from all type instagram url group 1 for username group 2 for p group 3 for reel group 4 for tv...
Submitted by
anubiskun
-
2 years ago
0
Match russian word including one and only one upper
PCRE2 (PHP >=7.3)
With DEFINE using
Submitted by
piterden
-
2 years ago
0
cisco cat3650cx & cat1000 'show power inline'
Golang
Matching show power inline output on cat1000 & cat3560cx
Submitted by
me
-
2 years ago
0
Capturing Group for IP
PCRE2 (PHP >=7.3)
Capturing group for an IP address - simple - Just looks for digits.
Submitted by
George Fitz
-
2 years ago
0
url-selection
PCRE2 (PHP >=7.3)
url-selection
Submitted by
anonymous
-
2 years ago
0
german locale regex
PCRE2 (PHP >=7.3)
Matches locales with german language
Submitted by
anonymous
-
2 years ago
0
Mick Find Image
PCRE2 (PHP >=7.3)
Finds stuff like 01 Image.. or 01 Image.
Submitted by
anonymous
-
2 years ago
0
select product
PCRE2 (PHP >=7.3)
select product
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
FindQuoteDiv
PCRE2 (PHP >=7.3)
FindQuoteDiv
Submitted by
anonymous
-
2 years ago
0
Split words in brackets
Golang
Split words in brackets
Submitted by
ugurakcil
-
2 years ago
0
busca proprietário
PCRE2 (PHP >=7.3)
testar se busca proprietário por diversas formas
Submitted by
anonymous
-
2 years ago
0
Twelve-hour (with am and pm at the end) and twenty-four-hour time formats (hh:mm am pm)
PCRE2 (PHP >=7.3)
This regex finds the substrings of the formats: hh:mm (0 <= hh <= 23; 0 <= mm <= 59) or h:mm am|pm (0 <= 12; 0 <= mm <= 59)
Submitted by
anonymous
-
2 years ago
0
Match Strings itself
PCRE (PHP <7.3)
Match Strings itself, include ""
Submitted by
picc_lu
-
2 years ago
1
...
535
536
537
538
539
...
599
URL regexp
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
11 years ago