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
UK style date
PCRE2 (PHP >=7.3)
dd/mm/yyyy
Submitted by
Russ Ferriday, from Docusign templates
-
3 years ago
1
Don't match numbers longer than 5 length
Python
using ^ and $
Submitted by
anonymous
-
3 years ago
1
CSV CIDR subnets
ECMAScript (JavaScript)
Comma separated CIDR network addresses
Submitted by
Glenn
-
3 years ago
1
Break PANEL webcomic
PCRE2 (PHP >=7.3)
regex that wrap the Panel section with $& so it will display like a webcomic codepen link: https://codepen.io/mangadrawing123/pen/oNwavgQ?editors=0110
Submitted by
anonymous
-
3 years ago
1
Match Between HTML Tags
PCRE2 (PHP >=7.3)
Match everything within the given HTML tag
Submitted by
William Wilkins
-
3 years ago
1
SQL comments Big Query
Golang
SQL comments on Big Query
Submitted by
anonymous
-
3 years ago
1
US Date Format to ISO using regex substitution
PCRE2 (PHP >=7.3)
Convert a US Date format to ISO
Submitted by
Joe Kruger
-
3 years ago
1
single ling prop to multi line
ECMAScript (JavaScript)
single ling prop to multi line
Submitted by
anonymous
-
3 years ago
1
Phone Number E.164
PCRE2 (PHP >=7.3)
Starts with + from 8 digits until 15
Submitted by
Sear Lopez
-
3 years ago
3
Viet Nam Phone Number
ECMAScript (JavaScript)
Viet Nam Phone Number Regex. This regex include: Cellphone number: Viettel, Vinaphone, Mobiphone, Vietnamobile, Iteltelecom, Reddi (055) Telephone number (such as: 024, 028,...) Start with Exactly 10 or 11 numbers
Submitted by
tuangt12
-
3 years ago
2
RFC1918 - Private IPv4 addresses
PCRE2 (PHP >=7.3)
Validate a given IP v4 address against all three defined Private IPv4 Subnets as statet in RFC1918 10.0.0.0/8 172.16.0.0/20 192.168.0.0/16 ...
Submitted by
0100101101001
-
3 years ago
1
Regex
PCRE2 (PHP >=7.3)
Match an element from a list
Submitted by
anonymous
-
3 years ago
1
IPV4 Address Identificate
PCRE2 (PHP >=7.3)
Regex to identificate a IPV4 Address
Submitted by
Pablo Deyvid
-
3 years ago
2
Check Phone numbers
PCRE2 (PHP >=7.3)
Other patterns
Submitted by
https://joserobinson.com
-
3 years ago
2
Match Javanese Script Syllable
PCRE2 (PHP >=7.3)
Match any syllable based on javanese script unicode
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
IP Address Validation Express
PCRE (PHP <7.3)
This is an accurate IP Address validation express that matches 1.1.1.1 to 255.255.255.255. Enjoy the code and pass it on to someone else in need. _"With practice you have no choice but to improve." "A logical mind has no limits to understanding."_
Submitted by
anonymous
-
3 years ago
1
Third Strike - SRK Wiki - Any Guard Type
ECMAScript (JavaScript)
xxx
Submitted by
Clay Dunston
-
3 years ago
1
PHP North American Phone Number
PCRE2 (PHP >=7.3)
Format phone numbers to look nice! E.g. 12345678900 --> +1(234)-567-8900 Matches with most ways numbers are stored 1.234.567.8900 1 234 567 8900...
Submitted by
Mendel Groner
-
3 years ago
1
Jira
PCRE2 (PHP >=7.3)
Jira
Submitted by
anonymous
-
3 years ago
1
Replace variable value with variable
PCRE2 (PHP >=7.3)
Replace variable value with variable
Submitted by
anonymous
-
3 years ago
1
...
194
195
196
197
198
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\/
(?:
3
[
0
-
2
]
|
[
12
]
*
\d
)
,
)*
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\/
(?:
3
[
0
-
2
]
|
[
12
]
*
\d
)
$
/
mg
Open regex in editor
Description
Comma separated CIDR network addresses
Submitted by
Glenn
-
3 years ago