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 6,080 community submitted regex patterns...
0
タグ削除
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
タグ削除
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Inline and comment blocks
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Cell number check
ECMAScript (JavaScript)
Check if first char is 0 followed by 9 digits
Submitted by
anonymous
-
6 years ago
0
Consecutive check
ECMAScript (JavaScript)
Check if there's consecutive chars
Submitted by
anonymous
-
6 years ago
0
REgex OR
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex AND
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex no repeats only numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Find specific document cookie value
ECMAScript (JavaScript)
Finds the value of a specific cookie. Use it in in this format: alert(document.cookie.replace((?:(?:^|.;\s)test2\s\=\s().$)|^.*$)) The above code will find the value of the cookie called test2 and display it in a alert dialog.
Submitted by
anonymous
-
6 years ago
0
GitHub and GitLab URL detection
ECMAScript (JavaScript)
Detects github and gitlab urls and gives back the domain (either github.com or gitlab.com) and the author + repo name
Submitted by
anonymous
-
6 years ago
0
exclude
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
urls
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Word
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Only allow latin chars and whitespaces
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
imp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
结巴去重
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
ISO-8601 Date-only format
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
this is a title
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
name match
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
1
...
142
143
144
145
146
...
304
身份证
0
Regular Expression
ECMAScript (JavaScript)
/
^
[
1
-
9
]
\d
{5}
(
18
|
19
|
20
)
\d
{2}
(
(
0
[
1
-
9
]
)
|
(
1
[
0
-
2
]
)
)
(
(
[
0
-
2
]
[
1
-
9
]
)
|
10
|
20
|
30
|
31
)
\d
{3}
[
0
-
9Xx
]
$
/
Open regex in editor
Description
^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$
Submitted by
anonymous
-
6 years ago