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 18,040 community submitted regex patterns...
13
PHP variable name
PCRE (PHP <7.3)
Valid PHP variable name as defined in the manual at http://php.net/manual/en/language.variables.basics.php
Submitted by
Erin Millard
-
12 years ago
52
Disorted Email Addresses
PCRE (PHP <7.3)
Matches distorted email addresses and converts them back to real ones.
Submitted by
dislick
-
12 years ago
40
URL regexp
PCRE (PHP <7.3)
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago
1
...
900
901
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?'id'
02
)
_
(?'code'
\w
{3}
)
_
(?'heatingvalue'
H
|
L
)
_
(?'type'
SE
)
(?'offset'
[
1
-
9
]
[
0
-
9
]
?
)
_
(?'derivative'
PHY
|
FUT
)
(?'period'
SWS-
)
(?'yearfull'
\b
20
(?'yearabbr'
1
[
4
-
9
]
|
[
2
-
9
]
[
0
-
9
]
)
\b
)
-
\b
(?'month'
0
[
4
]
|
1
[
0
]
)
\b$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago