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
Community Patterns
Search among 7,800 community submitted regex patterns...
1
Variable, -> "Variable",
PCRE2 (PHP >=7.3)
Add "" to variable before comma
Submitted by
anonymous
-
2 years ago
1
Paystub Basic Salary
Python
Extract Amount and Date from Paystub
Submitted by
MAJED MUSA GHANIM
-
2 years ago
1
streets with one or more names with unicode characters in python
Python
streets with one or more names with unicode characters in python
Submitted by
Stanicio
-
2 years ago
1
CRON
Python
Validades cron job time specification
Submitted by
anonymous
-
2 years ago
1
basic
PCRE2 (PHP >=7.3)
rast
Submitted by
anonymous
-
2 years ago
1
Lua Enhanced: function application compound operator
Python
This is a compound operator that takes a variable and a Example: local x = 9 x f(math.max)= 10 compiles to...
Submitted by
anonymous
-
2 years ago
1
Password Complexity
PCRE2 (PHP >=7.3)
Password Complexity 8-32 Characters, AlphaNumeric with OWASP Special Characters
Submitted by
shnwhtn
-
2 years ago
1
gPat
PCRE2 (PHP >=7.3)
This is pre-built Global Pat for FortiSiem
Submitted by
Ken
-
2 years ago
1
Nginx Error Log Parser
PCRE2 (PHP >=7.3)
Parse nginx error logs with tags
Submitted by
anonymous
-
2 years ago
1
Email Match
PCRE2 (PHP >=7.3)
matches on emails.. try it
Submitted by
Singh
-
2 years ago
1
Simple HTML to Markup
Python
converts HTML: This is hyperlink. You can click this. to Markup: This is hyperlink. You can click this. which renders like this: This is hyperlink. You can click this.
Submitted by
toryano0820
-
2 years ago
1
MyKad / Passport
PCRE2 (PHP >=7.3)
This allows only the specified characters to be a valid MyKad or Passport Number in Malaysia.
Submitted by
Munirul Haikal
-
2 years ago
1
Grabbing custom structure from markdown
PCRE2 (PHP >=7.3)
:)
Submitted by
anonymous
-
2 years ago
1
HTML注释
ECMAScript (JavaScript)
HTML注释
Submitted by
anonymous
-
2 years ago
1
password
ECMAScript (JavaScript)
Your password should include at least 8 characters, uppercase and lowercase letters, numbers and at least one special character.
Submitted by
Paveldev
-
2 years ago
1
Identify a web URL - non ftp
Python
From any text identify a web url. File or ftp urls are not a part of the regex.
Submitted by
wongz - https://stackoverflow.com/a/63022807/326835
-
2 years ago
1
same vowel start & end
PCRE2 (PHP >=7.3)
/^[aeiou].*[aeiou]$/
Submitted by
anonymous
-
2 years ago
1
Domain Validator
PCRE2 (PHP >=7.3)
Regex to validate domain/website
Submitted by
Amir hossein Karimi
-
2 years ago
1
Telegram username link
Python
a pattern to detect telegram username link or tag
Submitted by
anonymous
-
2 years ago
1
Get first move and depth from Stockfish output
PCRE2 (PHP >=7.3)
Stockfish output contains longer form containing the square of departure. Buggy with anything other than pawn.
Submitted by
Stockcat
-
2 years ago
1
...
96
97
98
99
100
...
390
SemVer - Versioning RegEx - Alternative (JavaScript)
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
0
|
[
1
-
9
]
\d
*
)
\.
(
0
|
[
1
-
9
]
\d
*
)
\.
(
0
|
[
1
-
9
]
\d
*
)
(?:
-
(
(?:
0
|
[
1
-
9
]
\d
*
|
\d
*
[
a
-
zA
-
Z-
]
[
0
-
9a
-
zA
-
Z-
]
*
)
(?:
\.
(?:
0
|
[
1
-
9
]
\d
*
|
\d
*
[
a
-
zA
-
Z-
]
[
0
-
9a
-
zA
-
Z-
]
*
)
)*
)
)?
(?:
\+
(
[
0
-
9a
-
zA
-
Z-
]
+
(?:
\.
[
0
-
9a
-
zA
-
Z-
]
+
)*
)
)?
$
/
gm
Open regex in editor
Description
Source:
https://semver.org
Alternative:
https://simversion.github.io
Submitted by
anonymous
-
4 years ago