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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 12,080 community submitted regex patterns...
1
Expresión regular para validar enlaces de videos embebidos de YouTube y Vimeo
PCRE2 (PHP >=7.3)
Detecta los patrones para enlaces de videos embebidos de YouTube y Vimeo
Submitted by
anonymous
-
3 years ago
1
order by field and direction
PCRE2 (PHP >=7.3)
order by field and direction
Submitted by
anonymous
-
3 years ago
1
sha512 - letters and numbers, without special characters. length 512
PCRE2 (PHP >=7.3)
Just capital letters and numbers, without special characters. String length 512
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)
1
just number and String length 30
PCRE2 (PHP >=7.3)
just number and String length 30
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)
1
HTML body tokenize
PCRE2 (PHP >=7.3)
Tokenize before do other process. We can adapt to use for header tag.
Submitted by
Jakk
-
3 years ago
(Last modified 3 years ago)
1
Titanic Kaggle - Remove ticket prefix to get number
PCRE2 (PHP >=7.3)
Removes the prefix leaving just the ticket number
Submitted by
anonymous
-
3 years ago
1
ds100reg4
PCRE (PHP <7.3)
Data 100 Regular Expression 4, adapted from Princeton
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
Variable, -> "Variable",
PCRE2 (PHP >=7.3)
Add "" to variable before comma
Submitted by
anonymous
-
3 years ago
1
basic
PCRE2 (PHP >=7.3)
rast
Submitted by
anonymous
-
3 years ago
1
Password Complexity
PCRE2 (PHP >=7.3)
Password Complexity 8-32 Characters, AlphaNumeric with OWASP Special Characters
Submitted by
shnwhtn
-
3 years ago
1
gPat
PCRE2 (PHP >=7.3)
This is pre-built Global Pat for FortiSiem
Submitted by
Ken
-
3 years ago
1
Nginx Error Log Parser
PCRE2 (PHP >=7.3)
Parse nginx error logs with tags
Submitted by
anonymous
-
3 years ago
1
Email Match
PCRE2 (PHP >=7.3)
matches on emails.. try it
Submitted by
Singh
-
3 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
-
3 years ago
1
Grabbing custom structure from markdown
PCRE2 (PHP >=7.3)
:)
Submitted by
anonymous
-
3 years ago
1
same vowel start & end
PCRE2 (PHP >=7.3)
/^[aeiou].*[aeiou]$/
Submitted by
anonymous
-
3 years ago
1
Domain Validator
PCRE2 (PHP >=7.3)
Regex to validate domain/website
Submitted by
Amir hossein Karimi
-
3 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
-
3 years ago
1
PHP PDO debugDumpParams parse as sql.
PCRE2 (PHP >=7.3)
解析php pdo 的 debugDumpParams 输出的数据。
Submitted by
anonymous
-
3 years ago
1
refactoring
PCRE2 (PHP >=7.3)
for refactoring Kotlin tests
Submitted by
nikita.bols
-
3 years ago
(Last modified 3 years ago)
1
...
522
523
524
525
526
...
604
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?(DEFINE)
(?'loc_part'
[
\w
!#$%&'*+
\-\/
=?^`{|}~
]
+
)
(?'loc'
\g'loc_part'
(?:
\.
\g'loc_part'
)*
)
(?'subdom'
[
a
-
z
]
(?:
[
a
-
z
\d
-
]
*
[
a
-
z
\d
]
)?
)
(?'tld'
[
a
-
z
]
{2,6}
)
)
(?'local'
\g'loc'
)
@
(?'domain'
(?:
\g'subdom'
\.
)+
\g'tld'
)
/
ixg
Open regex in editor
Description
match some emails and extract their local part and domain
Submitted by
dang duomg 191
-
6 months ago
(Last modified 6 months ago)