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,200 community submitted regex patterns...
0
basic email validation
PCRE2 (PHP >=7.3)
Basic email regex for quick validation
Submitted by
bUxEE
-
2 years ago
0
Governing Law matcher
PCRE2 (PHP >=7.3)
Nifty RegEx to match commonly-worded Govering Law clauses in agreements and contracts
Submitted by
anonymous
-
2 years ago
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
Decorators Regex
ECMAScript (JavaScript)
Expresion regular para obtener los metadas que pasaria un decorador según el estandar TC39
Submitted by
anonymous
-
2 years ago
(Last modified 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
4chan thread url match
ECMAScript (JavaScript)
Match any 4chan thread url as of 08/2022
Submitted by
anonymous
-
2 years ago
0
整数+小数+科学计数法的匹配
ECMAScript (JavaScript)
整数+小数+科学计数法的匹配 匹配顺序是从左到右依次 科学计数法------小数/整数----简写型小数
Submitted by
sikara
-
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
Amazon AWS Access Key ID (Legacy)
ECMAScript (JavaScript)
{ "Expressions": { "Amazon AWS Access Key ID (Legacy)": { "Expression": "AKIA[0-9A-Z]{16}", "Unit-Tests": [ {...
Submitted by
Jacob Sanders
-
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
Key - Value extractor
Java 8
Key - Value extractor
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
Inner field values extraction
Java 8
Inner field values extraction
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
Color Codes
ECMAScript (JavaScript)
hi
Submitted by
12944qwerty
-
2 years ago
0
Any WhiteSpace Character
.NET 7.0 (C#)
Any WhiteSpace Character
Submitted by
anonymous
-
2 years ago
1
...
152
153
154
155
156
...
310
Semver regex
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
testing_v
(?P<sm>
[
0
-
9
\.
]
+
(
[
\-
]
[
0
-
9
]
+
)?
)?
(
\_
[
0
-
9A
-
Za
-
z-
]
+
)?
$
/
gm
Open regex in editor
Description
Example of regex for semver with pre-releases
Submitted by
anonymous
-
2 years ago