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 14,080 community submitted regex patterns...
1
1
Golang
11
Submitted by
anonymous
-
2 years ago
0
匹配文本开头的(xxx) xxx) ) 或者 xxx.
PCRE2 (PHP >=7.3)
匹配文本开头的(xxx) xxx) ) 或者 xxx.
Submitted by
anonymous
-
2 years ago
0
Learn regex
PCRE2 (PHP >=7.3)
Learn regex
Submitted by
Supermen
-
2 years ago
0
PHPDOC Regex for extracting @param
PCRE2 (PHP >=7.3)
Regex used for extract @param in phpdoc
Submitted by
fmargerit
-
2 years ago
1
do_action and apply_filters name getter for Wordpress
PCRE2 (PHP >=7.3)
This will pluck out any do_action or apply_filters name in your code. Useful if you want to see what actions or filters have been added or deprecated between codebases, etc.
Submitted by
olie480
-
2 years ago
1
url regex
PCRE2 (PHP >=7.3)
Submitted by
-
2 years ago
0
Match number from URL surrounded by slashes
PCRE2 (PHP >=7.3)
Match number from URL surrounded by slashes, except numbers within domain (as it's not surrounded with slashes)
Submitted by
fifle
-
2 years ago
1
{{ start and and tags }}
PCRE2 (PHP >=7.3)
Not allowing strings that start with {{ or and with }} or }}.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
bold question mark line
PCRE2 (PHP >=7.3)
bold question mark line
Submitted by
anonymous
-
2 years ago
0
Match Date From DateTime ISO 8601
Golang
Match Date From DateTime ISO 8601
Submitted by
kuyaninja
-
2 years ago
0
Change GDevelop game to use a different extension name
PCRE2 (PHP >=7.3)
Move all shield-related functions into a new behavior called "Shield". For example: BEFORE: "value": "Health::Health::IsDamageCooldownActive" "value": "Health::Health::RegenShieldWhenZero" ...
Submitted by
Victris Games
-
2 years ago
0
Any WhiteSpace Character
.NET 7.0 (C#)
Any WhiteSpace Character
Submitted by
anonymous
-
2 years ago
0
aws incognito Identity Pool
PCRE2 (PHP >=7.3)
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-dg.pdf#cognito-scenarios
Submitted by
anonymous
-
2 years ago
0
Replace function declaration with const arrow function
PCRE2 (PHP >=7.3)
Captures a function declaration and changes it to an arrow function with const at the beginning.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Email Regex 320 chars
PCRE2 (PHP >=7.3)
Email Regex 320 chars
Submitted by
anonymous
-
2 years ago
0
get custom emoji
PCRE2 (PHP >=7.3)
Hello :smiley: i love :chocolate:
Submitted by
anonymous
-
2 years ago
0
CEP Regex Brazil
PCRE2 (PHP >=7.3)
Regex para validação de CEP
Submitted by
Jasmini Santos
-
2 years ago
(Last modified 2 years ago)
0
group & substitute
PCRE (PHP <7.3)
attempting to isolate and substitute (replace) in PCRE.
Submitted by
ABc3P0
-
2 years ago
0
sdfsfd
.NET 7.0 (C#)
sdfdsf
Submitted by
anonymous
-
2 years ago
0
Sanitize CSV Export Expression for regex.replace (this regex) with empty string
.NET 7.0 (C#)
see owasp recommendation for things to remove from a csv export. this expression matches on following characters [. , ; + = - @ ' "] also carriage return make sure to clear strings for whitespace and choose your preferred methods for additional security from the examples in the owasp documentation...
Submitted by
anonymous
-
2 years ago
1
...
79
80
81
82
83
...
704
aws incognito Identity Pool
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
cognito-idp
\.
(
[
a
-
z
]
{2}
-
[
a
-
z
]
{3,5}
-
[
0
-
9
]
{1,3}
)
\.
amazonaws
\.
com
\/
(
[
a
-
z
]
{2}
-
[
a
-
z
]
{3,5}
-
[
0
-
9
]
{1,3}
_
[
0
-
9
]
{7,11}
)
)
/
gm
Open regex in editor
Description
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-dg.pdf#cognito-scenarios
Submitted by
anonymous
-
2 years ago