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 8,140 community submitted regex patterns...
0
json-extract
PCRE2 (PHP >=7.3)
eee
Submitted by
anonymous
-
2 years ago
0
租赁
Python
租赁
Submitted by
租赁
-
2 years ago
0
Auth.log Parsing
PCRE2 (PHP >=7.3)
Parses the auth log on standard linux machines into useful groups.
Submitted by
Jason King
-
2 years ago
(Last modified 2 years ago)
0
Attribute reference
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/attributes/attribute-entries/
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc attribute definition
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/attributes/attribute-entries/
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc unordered list
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/lists/unordered/
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc line comment
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/comments/
Submitted by
aisbergde
-
2 years ago
0
Safe EMail validation (protected against ReDos) v2
ECMAScript (JavaScript)
Safe EMail validation protected against ReDos attack. Exclude all non conventionnal special char like #{%... only accept . - and _. . EMail can't start with number or specials chars. Domain accept only one subdomain and ip are available 63 Maximum characters accepted Check for valid IP
Submitted by
J.Delauney
-
2 years ago
0
demo
PCRE2 (PHP >=7.3)
regex grouping demo
Submitted by
Lidro
-
2 years ago
0
E
PCRE2 (PHP >=7.3)
E
Submitted by
anonymous
-
2 years ago
0
Safe EMail Validation (protected against ReDos)
ECMAScript (JavaScript)
Safe EMail validation protected against ReDos attack. It exclude all non conventionnal special char like #{%... only accept . - and _. . EMail can't start with number or specials chars. Domain accept only one subdomain and ip are available 63 Maximum characters accepted
Submitted by
J.Delauney
-
2 years ago
0
Base64 Image Data URI finder
ECMAScript (JavaScript)
The expression is intended for finding one or more embedded Base64 Data URI in an HTML document. It will not find matches for any HTML surrounding the encoded Data URI match ( tag or src attributes), just the encoded data and MIME header, all that's needed to decode. The MIME type is for images in ...
Submitted by
Attention Deficit Hyperactivity Disorder
-
2 years ago
(Last modified 2 years ago)
0
AsciiDoc delimited block quote
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/ only basic syntax
Submitted by
aisbergde
-
2 years ago
0
/w
Python
?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~абвгдеёжзийклмнопрстуфхцчшщъыьэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ !"#$%&\'()*+,-./0123456789:;
Submitted by
anonymous
-
2 years ago
1
Fix markdown image in header
PCRE2 (PHP >=7.3)
I was converting from markdown to another format & it didn't allow images in headers so this Regex finds an image in a header & moves it before the header.
Submitted by
thefinnomenon
-
2 years ago
0
Client URL Isolation
Python
Pull the Client URL out of the Asana description field using targeted expression.
Submitted by
Al Romano
-
2 years ago
0
Email Regex
PCRE2 (PHP >=7.3)
A well equiped regex
Submitted by
anonymous
-
2 years ago
0
Soundcloud pattern
PCRE2 (PHP >=7.3)
Soundcloud pattern
Submitted by
anonymous
-
2 years ago
0
YouTube regex pattern v2
PCRE2 (PHP >=7.3)
YouTube regex pattern v2
Submitted by
anonymous
-
2 years ago
0
https
ECMAScript (JavaScript)
https
Submitted by
anonymous
-
2 years ago
1
...
78
79
80
81
82
...
407
身份证号(2代,18位数字),最后一位是校验位,可能为数字或字符X
1
Regular Expression
ECMAScript (JavaScript)
/
^\d
{6}
(
18
|
19
|
20
)
\d
{2}
(
0
\d
|
10
|
11
|
12
)
(
[
0
-
2
]
\d
|
30
|
31
)
\d
{3}
[
\d
Xx
]
$
/
Open regex in editor
Description
身份证号(2代,18位数字),最后一位是校验位,可能为数字或字符X
Submitted by
anonymous
-
4 years ago