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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 220 community submitted regex patterns...
0
Illegal characters for directory name
Java 8
Pattern matches to all illegal characters in directory name. Can be useful for normalizing the folder name before creating it
Submitted by
Vlad Yevtushenko
-
2 years ago
0
时间
Java 8
时间
Submitted by
旧信
-
2 years ago
0
Fixed Email Regex (emailregex.com)
Java 8
An email regex that allows for capitals after the final dot (ie. TEST@GMAIL.COM)
Submitted by
anonymous
-
2 years ago
0
lat cyr letters
Java 8
only lat and cyr letters
Submitted by
anonymous
-
2 years ago
0
LinkedIn Profile Url
Java 8
LinkedIn Profile Url
Submitted by
Morons
-
2 years ago
0
Instagram Profile Url Test
Java 8
Testing all known Variations of Instagram Profile Url's
Submitted by
CryptoCode
-
2 years ago
0
Email - Works 99% close to oficial Standards
Java 8
Email - Works 99% close to oficial Standards, even better
Submitted by
CryptoCode
-
2 years ago
0
RegexNumberDecimal
Java 8
For two digits in regex in decimal places two and allow two digits before that point decimal
Submitted by
anonymous
-
2 years ago
0
Flight Number Regex for Java and Tests
Java 8
A regex string to validate flight number
Submitted by
Jose Sousa
-
2 years ago
0
phone number matcher
Java 8
phone number matcher
Submitted by
anonymous
-
2 years ago
0
Length > 4 chars
Java 8
Accounts for any character 4 times and not 'null'
Submitted by
anonymous
-
2 years ago
0
CDATA Matcher
Java 8
Matches CDATA sections while disallowing nesting
Submitted by
anonymous
-
2 years ago
0
Something...
Java 8
Look for all entries of a country on a list that can have repeated values
Submitted by
anonymous
-
2 years ago
0
Username Middle name Surname regex matcher
Java 8
Username Middle name Surname regex matcher
Submitted by
Nikola
-
2 years ago
0
判断是否有非法字符(合法字符为数字+-# 以及{"0":0, "1":1}所包含的符号)
Java 8
判断是否有非法字符(合法字符为数字+-# |以及{"0":0, "1":1}所包含的符号) 能捕获的:包含汉字、英文字符、部分分割符(;、/)、各种括号的电话
Submitted by
Jiajian Ye
-
2 years ago
0
#结尾的电话匹配
Java 8
#结尾的电话匹配
Submitted by
anonymous
-
2 years ago
0
匹配#结尾的电话号码和手机
Java 8
匹配#结尾的电话号码和手机
Submitted by
Leo
-
2 years ago
0
IP Address
Java 8
IP Address RegEx
Submitted by
anonymous
-
2 years ago
0
括号匹配
Java 8
(\[]\])|(【】)|(())|(\(\))
Submitted by
nasion
-
2 years ago
0
DB
Java 8
DB
Submitted by
DB
-
2 years ago
1
...
4
5
6
7
8
...
11
Private IPv4
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
10
|
127
)
(
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
)
|
169
\.
254
|
192
\.
168
|
172
\.
(
2
[
0
-
9
]
|
1
[
6
-
9
]
|
3
[
0
-
1
]
)
)
(
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
){2}
$
/
gm
Open regex in editor
Description
Match only Public IPv4
Does not match Private IPv4 and test Nets
Submitted by
anonymous
-
4 months ago