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 2,740 community submitted regex patterns...
2
URL Regex
.NET 7.0 (C#)
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
a year ago
(Last modified a year ago)
2
IDN Domains and Subdomains
PCRE2 (PHP >=7.3)
IDN Domains & Normal Domains This regex is able to identify any type of domain or subdomain whether it is IDN or normal, this includes domains in emojis, non-Latin characters, etc.
Submitted by
NCK
-
10 months ago
2
regex101: RFC1918 Private IPv4 Addresses, but limited to matching /24 subnet host IDs
PCRE2 (PHP >=7.3)
POSIX ERE compatible, suitable for usage in Bash [ testing Attributions Derived from [regex101: RFC1918 - Private IPv4 addresses by 0100101101001.
Submitted by
anonymous
-
9 months ago
2
Check Email Validity
Java 8
Regular expression to check the email syntax validity. Certainly requires improvement, but it's a good basis to work from. Work with Java and JavaScript.
Submitted by
Alain TOMASIAN <alain.tomasian@kaptus.fr>
-
7 months ago
(Last modified 6 months ago)
2
RFC822 Date Format
PCRE2 (PHP >=7.3)
Test your RSS pubDate has a correctly formatted date value according to the RFC822 standard It will match timeZoneName (eg GMT, EST) or time zone offset (eg. +0100)
Submitted by
anonymous
-
19 days ago
(Last modified 19 days ago)
2
Journalctl
PCRE2 (PHP >=7.3)
This was build on gentoo with english_ca.utf8 IIRC. Might not work for other distros... or locales supports -as the delimiter of hostname suffixing/prefixing
Submitted by
Wolf1098
-
13 days ago
2
Parse Excel CSV data
PCRE2 (PHP >=7.3)
This is the best regex I found that was able to correctly parse cells containing multiple lines (hard line breaks). Low number of steps with sufficient speed, and it doesn't require /x option either. Source: https://gist.github.com/awwsmm/886ac0ce0cef517ad7092915f708175f
Submitted by
thdoan
-
12 days ago
(Last modified 12 days ago)
2
Test 1 solution
PCRE2 (PHP >=7.3)
thanks
Submitted by
Zeeble Dorp
-
a day ago
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
9 years ago
(Last modified 10 months ago)
0
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
8 years ago
(Last modified 10 months ago)
1
Chercher un Prénom ou un Nom
.NET 7.0 (C#)
no description available
Submitted by
anonymous
-
8 years ago
(Last modified 10 months 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 8 months ago)
1
Regular expression for parsing VK.com links.
PCRE2 (PHP >=7.3)
no description available
Submitted by
ZKelo
-
4 years ago
(Last modified 2 years ago)
1
PHP Class Capture Groups from symbol string for Class, Namespace, Operation (Mutator or Accessor), Target and Method Names
PCRE2 (PHP >=7.3)
The is helpful for parsing the symbolic reference of a PHP class object for validation or just determining the type and target for the operator. The expression is intended for working with classes and class methods, so the value on the right of the Paamayim Nekudotayim :: will alway be regarded as ...
Submitted by
Jacob Canote
-
3 years ago
(Last modified 3 years ago)
1
Custom IFrame SRC Grabber
PCRE2 (PHP >=7.3)
no description available
Submitted by
Moep
-
3 years ago
(Last modified 3 years ago)
1
验证金额 "-999999999.99 ~ 999999999.99" ,小数点保留2位
PCRE2 (PHP >=7.3)
验证阿拉伯数字金额 "-999999999 ~ 999999999" ,小数点后面保留2位
Submitted by
cp.l
-
3 years ago
1
StrongPassword: 1 uppercase, 1 lower case, 1 num, 1 \W, & at least 8 char
PCRE2 (PHP >=7.3)
no description available
Submitted by
Bri Baldwin
-
3 years ago
1
MyRegEx
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Dutch mobile phone number
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Gitlab GraphQl query finder
PCRE2 (PHP >=7.3)
Searches for the first list element in a graphql query, which allows for filtering and pagination, except for the group node
Submitted by
Thomas Luijken
-
3 years ago
1
2
3
4
5
6
...
137
MyRegEx
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<start>
[
{
]
[
$
]
)
(?<variable>
\w
*
)
(?<end>
[
$
]
[
}
]
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
3 years ago