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 2,580 community submitted regex patterns...
0
id_name_fb
PCRE2 (PHP >=7.3)
get id, name from fb link
Submitted by
anonymous
-
2 years ago
0
Username regex
.NET 7.0 (C#)
Matches alphanumeric, @, . , -
Submitted by
Ethan Pedersen
-
2 years ago
0
cyrillic endings for regex declination
PCRE2 (PHP >=7.3)
cyrillic endings for regex declination
Submitted by
https://t.me/seocringe
-
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
0
sdfsfd
.NET 7.0 (C#)
sdfdsf
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
get custom emoji
PCRE2 (PHP >=7.3)
Hello :smiley: i love :chocolate:
Submitted by
anonymous
-
2 years ago
0
Email Regex 320 chars
PCRE2 (PHP >=7.3)
Email Regex 320 chars
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
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
Any WhiteSpace Character
.NET 7.0 (C#)
Any WhiteSpace Character
Submitted by
anonymous
-
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
bold question mark line
PCRE2 (PHP >=7.3)
bold question mark line
Submitted by
anonymous
-
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
0
PHPDOC Regex for extracting @param
PCRE2 (PHP >=7.3)
Regex used for extract @param in phpdoc
Submitted by
fmargerit
-
2 years ago
0
Learn regex
PCRE2 (PHP >=7.3)
Learn regex
Submitted by
Supermen
-
2 years ago
0
匹配文本开头的(xxx) xxx) ) 或者 xxx.
PCRE2 (PHP >=7.3)
匹配文本开头的(xxx) xxx) ) 或者 xxx.
Submitted by
anonymous
-
2 years ago
0
replace date format DD.MM.YY -> YYYY.MM.DD
PCRE2 (PHP >=7.3)
Search: 12) 05.09.08 - xxxxxxxxxx Replace: 2008.09.05 - xxxxxxxxxx (0-9\)\x20)(0-9|0-9-0-9)\.(0-9)\.(0-9) 20$4.$3.$2
Submitted by
DbrmnPhrh
-
2 years ago
0
English Name Regex
PCRE2 (PHP >=7.3)
Match only english characters with numbers, spaces, comma and dots. /[a-z0-9.\-\s]/gmi `
Submitted by
Giorgi Gumburashvili
-
2 years ago
0
stopwordlist
PCRE2 (PHP >=7.3)
stopwordlist
Submitted by
anonymous
-
2 years ago
1
...
90
91
92
93
94
...
129
Mobile No Starts from number 20 or 0 digits and end with 12 digits number
0
Regular Expression
ECMAScript (JavaScript)
/
(
(
^
[
20
]
+
?
\d\d\d\d\d\d\d\d\d\d\d
)
|
(
^
[
0
]
+
?
\d\d\d\d\d\d\d\d\d\d
)
)
/
gm
Open regex in editor
Description
Mobile No Starts from number 20 or 0 digits and end with 12 digits number
Submitted by
Venkata Sandeep
-
6 years ago