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 11,860 community submitted regex patterns...
0
whitespace only lines
PCRE2 (PHP >=7.3)
Matches whitespace only lines common to annoying website code.
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
股票代码
PCRE2 (PHP >=7.3)
aa
Submitted by
vv
-
2 years ago
0
Thai car register
PCRE (PHP <7.3)
rule for thai registered car
Submitted by
socool
-
2 years ago
0
Thai credit card
PCRE (PHP <7.3)
rule for parse thai credit card
Submitted by
socool
-
2 years ago
0
Thai citizen
PCRE (PHP <7.3)
rule for parse thai citizen card
Submitted by
socool
-
2 years ago
0
4 spaces and tabs mixed indentation replace pattern
PCRE2 (PHP >=7.3)
With this expression you can easily replace the indentation from 4 spaces and tabs mixed indented file to a pure indentation.
Submitted by
hNczy
-
2 years ago
0
Get HTML attribute
PCRE2 (PHP >=7.3)
Get HTML attribute with /" inside
Submitted by
anonymous
-
2 years ago
(Last modified 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
ID File with .txt
PCRE2 (PHP >=7.3)
cmd : find -type f | grep -Eo '(.\/)+(.iRqDU1LMXL)+(.*.txt)'
Submitted by
anonymous
-
2 years ago
0
IP address with port
PCRE2 (PHP >=7.3)
Match ip address with port
Submitted by
PARNKOT
-
2 years ago
0
Password Validator
PCRE2 (PHP >=7.3)
Password validator: 6-50 symbols Minimum 1 each: Upper case letter, Lower case letter, number, special symbol (!, @, #, $, %, ^, &, *, (, ), _, +, , ?). No other symbols allowed.
Submitted by
anonymous
-
2 years ago
0
Env Var
PCRE2 (PHP >=7.3)
Regex to match Env Variable whole line
Submitted by
anonymous
-
2 years ago
0
Check password
PCRE (PHP <7.3)
Checks that a password has a minimum of 8 characters, at least 1 uppercase letter, 1 lowercase letter, and 1 number.
Submitted by
letrongtanbs
-
2 years ago
1
UAE Emirates ID Number
PCRE2 (PHP >=7.3)
Validate an Emirates ID number, with or without dashes. Please note that this does not implement the Luhn Algorithm, which should be applied in conjunction with simple validation.
Submitted by
Pete Mahon
-
2 years ago
-1
Match Consonants
PCRE2 (PHP >=7.3)
Use regex to test whether a letter is a consonant or not. Use /[B-DF-HJ-NP-TV-Z]/ for capitals.
Submitted by
Matthew Hiebing
-
2 years ago
-1
is
PCRE2 (PHP >=7.3)
Hi it is me
Submitted by
anonymous
-
2 years ago
0
Android Webview
PCRE2 (PHP >=7.3)
Hopefully it can tell if it is android webview or not.
Submitted by
Alp Ates
-
2 years ago
(Last modified 2 years ago)
1
...
75
76
77
78
79
...
593
imperva_regex
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
^
[
A
-
Z
]
[
0
-
9
]
{6}
)
\s
(
[
0
-
9
]
{2}
:
[
0
-
9
]
{2}
:
[
0
-
9
]
{2}
.
[
0
-
9
]
{6}
)
\s
(
[
0
-
9
]
{4}
)
\s
(
[
a
-
z
]
*
\/
)
/
gm
Open regex in editor
Description
A regex exercise for Imperva
Submitted by
Lesley Miller
-
2 years ago