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...
0
visa cvv
PCRE (PHP <7.3)
4003447582444271
Submitted by
anonymous
-
9 years ago
0
Date Validation
ECMAScript (JavaScript)
This pattern validates all the possible dates for all months in YYYY-MM-DD format. Due to limitations of regex it can not validate the dates of february for leap year. It will allow the date 29 for leap year too. Make sure to validate that yourself.
Submitted by
Ashutosh Agrawal
-
9 years ago
0
hidden項目デフォルト隠蔽
PCRE (PHP <7.3)
これを技術担当に見せれば理解してくれるはず。 '(]type="[text|hidden]"value=")(+)("*>)' このコードがデフォルトでClickTaleタグ内のJSに付与されてて、 これがあるとフォームで入力された項目等は全て【ーーーー】に...
Submitted by
井上
-
9 years ago
0
Select string in between HTML tags
PCRE (PHP <7.3)
no description available
Submitted by
Jim Sheen
-
9 years ago
0
Base64 Test
ECMAScript (JavaScript)
Tests a string to see if it fits the Base64 format.
Submitted by
anonymous
-
9 years ago
0
float
PCRE (PHP <7.3)
matches floats: 1.0f 1.0F .0f .1F 1f 1F
Submitted by
Mateusz Paluch
-
9 years ago
0
match invalid postcode
Python
match as long as not 5digit code
Submitted by
anonymous
-
9 years ago
0
space
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Search for foobar in a csv string
PCRE (PHP <7.3)
Search for foobar in a csv string
Submitted by
Balmark
-
9 years ago
0
Isolates Formatted money String inside HTML tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
ipv4 address
ECMAScript (JavaScript)
no description available
Submitted by
Xiaohui Xu
-
9 years ago
0
emailfider
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Split by character outside quotes
ECMAScript (JavaScript)
Splits text by a character which is not inside the quotes. Example: foo:"01":"02:03":"04:05:06":"07:08:09:10" ^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^
Submitted by
.iqqmuT
-
9 years ago
0
Multiple lines comment in Java
PCRE (PHP <7.3)
Begin with /* accept anything inside and finish with */
Submitted by
Wesley Ramos
-
9 years ago
0
Reads C-like comments
Python
Reads C comments as this "/* Do test / and removes / */ parts and leaves only comment part
Submitted by
Shuhrat Rahimov
-
9 years ago
0
NANP Phone Number Checker
PCRE (PHP <7.3)
Checks whether a North American Numbering Plan (NANP) phone number is valid. (Matching numbers are not necessarily real.) However, it registers 299-911-9999 as OK, even though it's not valid.
Submitted by
anonymous
-
9 years ago
0
regex buscar string u otro string
PCRE (PHP <7.3)
RegEx Multiples String seguido de un string fijo
Submitted by
profvalenzuela
-
9 years ago
0
find any URI/URL with no trailing slash v2
PCRE (PHP <7.3)
updated
Submitted by
-oneglory
-
9 years ago
0
CSS url()
PCRE (PHP <7.3)
Matches a valid CSS3 url() property
Submitted by
sciyoshi
-
9 years ago
0
IRC protocol arguments parsing
PCRE (PHP <7.3)
select and retrieve information form IRC client to client prefix
Submitted by
Kerosene2000
-
9 years ago
1
...
38
39
40
41
42
...
901
Community Library Entry
0
Regular Expression
Python
r"
(
\b\d
{1,2}
[
a
-
z
]
+
\d
{2,4}
)
|
(
[
A
-
Z
]
\w
+
(
\s
)?
\d
{1,2}
(
[
a
-
z
]
{2}
)?
[
,
]
+
\d
{2,4}
)
"
gi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago