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,000 community submitted regex patterns...
1
DT_LeihNr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
depchecker variable capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
prekladanie pismen znakmi
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
test
Python
no description available
Submitted by
anonymous
-
4 years ago
1
RegEx Teléfono
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
SSN
PCRE (PHP <7.3)
Match full SSN
Submitted by
anonymous
-
4 years ago
1
Separate path string to dir, filename (with extension), file (without extension) and extension. Groups is named
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Cuting Email
PCRE (PHP <7.3)
This little regex is taking an email and creating 2 group first is for before the @ sign and the second is for after the @ sign
Submitted by
anonymous
-
4 years ago
1
Exclude for ufl with OR
ECMAScript (JavaScript)
Exclude certain tags with OR
Submitted by
anonymous
-
4 years ago
1
International Phone Numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Barb's Stream Image Filter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Cisco CLI Errors
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Phone Number
PCRE (PHP <7.3)
123 456 7890 (123) 456 7890 (123) 456-7890 1234567890 123 456 7890 123 4567890...
Submitted by
anonymous
-
4 years ago
0
IPv4 Valid RFC1918 Addresses
ECMAScript (JavaScript)
This will match valid IP addresses which are listed in RFC1918. 127.0.0.0 - 127.255.255.255 10.0.0.0 - 10.255.255.255 192.168.0.0 - 192.168.255.255 172.16.0.0 - 172.31.255.255
Submitted by
anonymous
-
4 years ago
1
A 'Bulletproof' URL Regular Expression Parser
PCRE (PHP <7.3)
A well-documented, easy to modify bulletproof regular expression that matches complete URLs or URL components. Components include: Schema scheme/protocol**: use an OR statement to add FTP, etc....
Submitted by
anonymous
-
4 years ago
1
phone in text
ECMAScript (JavaScript)
This is a number also 123-456-7890 This is not a number: 123456 This is not a number, but an address 123 456 My parameters are 90/60/90 - 120/150/120 - not a phone number I am cheeky and I use letter 0 instead of zero 604_213_0293 Or I use | symbol and also 604_2|3_0293 may happen...
Submitted by
anonymous
-
4 years ago
1
PSR-16 Cache Key
PCRE (PHP <7.3)
https://www.php-fig.org/psr/psr-16/ Key - A string of at least one character that uniquely identifies a cached item. Implementing libraries MUST support keys consisting of the characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding and a length of up to 64 characters. Implementing libr...
Submitted by
anonymous
-
4 years ago
1
Dimensions from part descriptions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
gdgd
PCRE (PHP <7.3)
dodged
Submitted by
anonymous
-
4 years ago
1
find vindi webhook requests that subscriptions has no order id
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
...
296
297
298
299
300
...
900
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
[^
0
-
9
]
*
\b
(
(
[
1
-
9
]
|
1
[
0
-
9
]
|
22
|
2
[
4
-
9
]
|
[
3
-
9
]
[
0
-
9
]
|
1
[
0
-
2
]
[
0
-
9
]
|
13
[
0
-
6
]
|
1
[
4
-
9
]
[
0
-
9
]
|
[
2
-
9
]
[
0
-
9
]
[
0
-
8
]
|
[
1
-
9
]
[
0
-
9
]
{3}
|
[
1
-
5
]
[
0
-
9
]
{4}
|
6
[
0
-
4
]
[
0
-
9
]
{3}
|
65
[
0
-
4
]
[
0
-
9
]
{2}
|
655
[
0
-
2
]
[
0
-
9
]
|
6553
[
0
-
5
]
)
\b
[^
0
-
9
]
*
)*
$
)
/
mg
Open regex in editor
Description
Match all Ports except 20,21,23,137,1378,139
Submitted by
anonymous
-
7 months ago