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,020 community submitted regex patterns...
3
Alternative Capture Country Codes
PCRE (PHP <7.3)
no description available
Submitted by
Branden
-
10 years ago
3
How do I write a Regex to inspect Cisco Interfaces
PCRE (PHP <7.3)
I am asking for help in writing a regular expression to shorten this expression. I need the string below to search every interface within the range of 1 -24 to validate the configuration. If one interface does not have the required configuration then the expression fails. interface GigabitEtherne...
Submitted by
Pirates
-
10 years ago
3
Test a string against CamelCase
ECMAScript (JavaScript)
See if a string is in CamelCase format
Submitted by
Tonny Xu
-
10 years ago
3
images url match in text
PCRE (PHP <7.3)
no description available
Submitted by
Redfern.89
-
9 years ago
3
prices in nis
Python
no description available
Submitted by
molaxx
-
9 years ago
3
Div content
PCRE (PHP <7.3)
no description available
Submitted by
mohammadsaleh
-
9 years ago
3
HH:MM:SS
ECMAScript (JavaScript)
Validates 00:00:00 to 23:59:59
Submitted by
anonymous
-
9 years ago
3
youtube id und link
ECMAScript (JavaScript)
no description available
Submitted by
ogerly
-
9 years ago
3
URL Regex (protocol strict)
ECMAScript (JavaScript)
Includes resource strings, taken from here: https://gist.github.com/dperini/729294
Submitted by
Diego Perini
-
9 years ago
3
Validate Base64 with new lines (e.g. GPG base64 messages)
PCRE (PHP <7.3)
This regular expression validates if given string is formatted in Base64, additional it accepts new lines, since payload can have new lines in it.
Submitted by
wpodgorski
-
9 years ago
3
Select all number greater than 36
PCRE (PHP <7.3)
no description available
Submitted by
Mansoor
-
9 years ago
3
Extract All Steam Keys
PCRE (PHP <7.3)
Extract all Steam Keys from a Given String
Submitted by
Ashesh Kumar
-
9 years ago
3
Firt letter of names capitalize with exceptions
ECMAScript (JavaScript)
Check if brazilian names are imputed correctly. Ex: Paulo da Silva
Submitted by
William
-
9 years ago
3
apache access log
PCRE (PHP <7.3)
parse the apache access log
Submitted by
pagu
-
9 years ago
3
Match a valid IPv4 or IPv6 address
PCRE (PHP <7.3)
This regular expression will match an IPv4 address as well as both compressed or uncompressed IPv6 address.
Submitted by
Tom Groeneveld, SevOne.com
-
9 years ago
3
french phone number + match right part
PCRE (PHP <7.3)
Matches french numbers (not special numbers like 115, 18). First matching group contains the right part without prefix (0, +33, 33, 033, or 0033).
Submitted by
xdrm-brackets
-
9 years ago
3
JSON recognition
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
strong password validation
PCRE (PHP <7.3)
This regex matches only when all the following are true: password has minimum 2 uppercase letters password has minimum 2 lowercase letters password has minimum 2 numerals (0-9) password has minimum 2 special characters, of the group !@#$%^&*()-_=+{};:, password has no more than 2 consecutive identic...
Submitted by
anonymous
-
7 years ago
3
YouTubeVideoUrl
ECMAScript (JavaScript)
YouTubeVideoUrl
Submitted by
EdwardKonovalov
-
2 years ago
(Last modified 2 years ago)
4
utf-8 hex.
PCRE (PHP <7.3)
utf-8 hex. code armenian. Firs character regexp
Submitted by
Dyxx
-
10 years ago
1
...
882
883
884
885
886
...
901
Community Library Entry
4
Regular Expression
PCRE (PHP <7.3)
/
^
(
\%
d
[
4
-
6
]
\%
[
ab89
]
(
[
0
-
9
]
|
[
a
-
f
]
)
)
$
/
i
Open regex in editor
Description
utf-8 hex. code armenian. Firs character regexp
Submitted by
Dyxx
-
10 years ago