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...
2
Aus Mobile number
.NET 7.0 (C#)
validates against multiple common formats
Submitted by
anonymous
-
2 years ago
2
ISD Codes for Phones
ECMAScript (JavaScript)
ISD Codes for Phones Matches the basic format for ISD Codes.
Submitted by
Arvind Singh Rawat
-
2 years ago
2
regex data e time
ECMAScript (JavaScript)
pega a data e time
Submitted by
jaffar
-
a year ago
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
Phone numbers national and local (BE exemple)
ECMAScript (JavaScript)
Phone numbers in Belgium. The pattern does match with delimiters such as [\s./-] No global length is checked Accepts number starting by 0 for local dialing Accepts number starting by + (+32 in these tests)
Submitted by
anonymous
-
a year ago
2
Python regular expression to detect any type of group link and private channel in Telegram
Python
You can use this regular expression to identify any type of Telegram link. It doesn't matter whether it is t.me or telegram.me. Links including "joinchat" are also accepted.
Submitted by
Telegram : T.me/TinyPY
-
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
-
a year ago
2
Complete ISO 8601 Validator
ECMAScript (JavaScript)
Not only validates valid date/time, but also the number of days in a month (including leap year), and both Z and UTC offset.
Submitted by
Sillvva
-
a year ago
(Last modified a year ago)
2
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
2
Decimal up to 15.2 digits in French and English culture
ECMAScript (JavaScript)
Validates that a given string is a number of up to 15 integer digits and up to 2 decimal digits. Group separators could be either comma or space class but can't be mixed. Decimal separator could be either comma (if comma was not a group delimiter) or dot. This variation uses small captures for mode...
Submitted by
BkQc
-
a year ago
(Last modified a year 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
-
a year ago
2
Invalid Windows Filename Chars
PCRE (PHP <7.3)
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file Integer value zero, sometimes referred to as the ASCII NUL character. Characters whose integer representations are in the range from 1 through 31, except for alternate data streams where these characters are allowed. For more info...
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Match each Unicode Characters, Symbols, and Emojis consecutively
ECMAScript (JavaScript)
RegExp matches each (combined) Unicode symbol, character, or emoji consecutively. Note: there are some edge cases where it does not combine some symbols that should be seen as one symbol (after Default Grapheme Cluster Boundary of UAX #29). For Unicode code point info see codepoints.net Also, see ...
Submitted by
MAZ01001
-
a year 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>
-
a year ago
(Last modified a year ago)
2
Quartz CRON Validation with groups
ECMAScript (JavaScript)
CRON validation Validates CRON pattern (Quartz) and supports groups. Useful for e.g. typescript or other typed languages. The following greoups are covered: second...
Submitted by
Nico Vitt
-
10 months ago
2
ROM naming scheme
PCRE2 (PHP >=7.3)
this is some cursed shit, but it does work. I use it to check whether all my ROMs have valid names or not. Makes it easier to read and, more importantly, deduplicate.
Submitted by
Riedler
-
7 months ago
(Last modified a month 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
-
7 months ago
(Last modified 7 months 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
-
7 months 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
-
7 months ago
(Last modified 7 months ago)
2
unicode
PCRE2 (PHP >=7.3)
uncode word boundaries
Submitted by
Mehmet Kozan
-
7 months ago
1
...
73
74
75
76
77
...
902
Community Library Entry
2
Regular Expression
ECMAScript (JavaScript)
/
^
(
0
(
(?:
[
\s
\-
./
]
?
\d
{2,3}
)+
)
|
(
[
+
]
[
1
-
9
]
\d
{0,3}
)
(
(?:
[
\s
\-
./
]
?
\d
{2,3}
)+
)
)
$
/
gm
Open regex in editor
Description
Phone numbers in Belgium.
The pattern does match with delimiters such as [\s./-]
No global length is checked
Accepts number starting by 0 for local dialing
Accepts number starting by +<national code> (+32 in these tests)
Submitted by
anonymous
-
a year ago