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
Community Patterns
Search among 15,200 community submitted regex patterns...
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
-
9 months ago
(Last modified 9 months ago)
2
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
9 months ago
(Last modified 9 months 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
-
9 months ago
(Last modified 8 months 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
-
8 months ago
(Last modified 8 months ago)
2
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
-
7 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>
-
6 months ago
(Last modified 6 months ago)
0
Name
ECMAScript (JavaScript)
Simple name matching Matches english names only, you may add international characters to list of characters.
Submitted by
Ehsan
-
9 years ago
3
php input:date yyyy-mm-dd
PCRE (PHP <7.3)
improved "Ahmed Z" regexp. PHP date format (and input[type=text] format date too): YYYY-MM-DD. Year between [1900-2099]. No leap year check. Month 02 is limited to 29 days.
Submitted by
Oropesa
-
10 years ago
3
youtube id match
PCRE (PHP <7.3)
youtube id 17 matches
Submitted by
Wiliam Castilhos, Ramon Barros
-
9 years ago
3
ISO 8601 date
PCRE (PHP <7.3)
Validates a date with ISO 8601 format. Source: http://www.pelagodesign.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
Submitted by
anonymous
-
9 years ago
3
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
9 years ago
3
white space before punctuations, outside script and code tags
PCRE (PHP <7.3)
white space before punctuations, outside script and code tags
Submitted by
ced
-
9 years ago
3
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
Perl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
po box
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
3
Fetch data between curly braces with plain text
PCRE (PHP <7.3)
This regex fetch only the data between content in curly braces (first occurrence, use preg_match_all in php, for all occurrences). This is useful for bad JSON files with wrong format or text between.
Submitted by
shakaran87
-
10 years ago
3
Simple math regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
^.*(\/Summary\/).*(chelaxe\.ru).*$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
US Zip Code
ECMAScript (JavaScript)
This pattern matches the US Postal Code format and captures the seperate parts; basic and +4.
Submitted by
anonymous
-
9 years ago
3
Invalid Unicode characters in XML
PCRE (PHP <7.3)
This pattern matches all the Unicode characters that are not allowed in an XML document. It's based on the Wikipedia article "Valid characters in XML".
Submitted by
Aaron Wells
-
9 years ago
1
...
740
741
742
743
744
...
760
URL SERVER
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
https
?
:
\/\/
)?
(
(
[
\w
\.
]
+
)
\.
(
[
a
-
z
]
{2,6}
\.
?
)
(
\/
[
\w
\.
]
*
)*
\/
?
|
(
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
[
01
]
?
\d\d
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
[
01
]
?
\d\d
?
)
|
(
\l
ocalhost
)
)
)
(
\:
(
[
0
-
9
]
{1,4}
|
[
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
]
)
)?
$
/
Open regex in editor
Description
Регулярное выражения для проверки URL адреса сервера
Submitted by
anonymous
-
a year ago
(Last modified a year ago)