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 15,280 community submitted regex patterns...
0
Setup php source extension regex
ECMAScript (JavaScript)
Setup php source extension regex
Submitted by
anonymous
-
3 years ago
0
Mac Address
PCRE (PHP <7.3)
Mac address is 6 parts of 2 hexadecimal digits separated by a special character "-" so, there are 5 parts of digits followed by the character "-" then, one part without that character.
Submitted by
EMAM1999
-
3 years ago
0
Filename Match and Parsing.
PCRE2 (PHP >=7.3)
Parse a filename into path, filename and extension (directory names are windows style, but changeable). Matches are accessible by name and number. This is dependent on PCRE compatibility. It uses (DEFINE) non-consuming group definitions and back references. The only good description of using thi...
Submitted by
anonymous
-
3 years ago
0
RegexJSON
PCRE (PHP <7.3)
Json add q
Submitted by
anonymous
-
3 years ago
0
Generate random alpha characters
PCRE (PHP <7.3)
Given a string, generate random alpha characters of a particular length
Submitted by
Chetan
-
3 years ago
0
texto antes de https
PCRE2 (PHP >=7.3)
lookToo
Submitted by
Daniel Alvarez
-
3 years ago
1
Text out of all sort of brackets (or in) SUPPORTS: { } [ ] ( ) < >
PCRE (PHP <7.3)
I made the description in a CSS file which can be viewed here Dont worry its not a virus or anything\, just inspect the source if you are suspicious \:\)
Submitted by
Tom Liesting
-
3 years ago
0
匹配整数(带小数位)
PCRE (PHP <7.3)
匹配小数位的整数,或者匹配整数
Submitted by
solelyli
-
3 years ago
0
medicine
PCRE (PHP <7.3)
about medicine
Submitted by
fcs
-
3 years ago
(Last modified 3 years ago)
1
Schuljahr
PCRE2 (PHP >=7.3)
Akzeptiert Schuljahre wie 2021/22
Submitted by
anonymous
-
3 years ago
1
Must be start with 62 and all number (indonesia phone)
PCRE2 (PHP >=7.3)
Must be start with 62 and all number (indonesia phone)
Submitted by
anonymous
-
3 years ago
1
All digit must be number
PCRE2 (PHP >=7.3)
All digit must be number
Submitted by
anonymous
-
3 years ago
1
Basic Phone Number Matching
ECMAScript (JavaScript)
Basic Phone Number Matching
Submitted by
Anthony Cooper
-
3 years ago
1
notlike
PCRE2 (PHP >=7.3)
notlike
Submitted by
anonymous
-
3 years ago
1
sdfsf
PCRE2 (PHP >=7.3)
sdf
Submitted by
dsf
-
3 years ago
1
value-attached text
ECMAScript (JavaScript)
value-attached text
Submitted by
pyrochlore
-
3 years ago
(Last modified 3 years ago)
1
Nitroflare v2
PCRE2 (PHP >=7.3)
Extract ID
Submitted by
anonymous
-
3 years ago
1
Nitroflare ID
PCRE2 (PHP >=7.3)
https://nitroflare.com/view/845F2436715ASF5/XUYZ.zip
Submitted by
anonymous
-
3 years ago
1
replace between brackets 3
PCRE2 (PHP >=7.3)
replace multiple matches of words in brackets with no brackets
Submitted by
anonymous
-
3 years ago
1
ParsingAmazonInvoice
PCRE2 (PHP >=7.3)
Goes through a Plain text derived from a PDF capturing the order number, the items, the order and ship dated and the costs.
Submitted by
anonymous
-
3 years ago
1
...
173
174
175
176
177
...
764
Breakdown datetime stamp into parts (YYYY-MM-DD[T]HH:MM:SS)
0
Regular Expression
ECMAScript (JavaScript)
/
(?<year>
[
\d
]
{4}
)
-
(?<month>
0
[
1
-
9
]
|
1
[
1
-
2
]
)
-
(?<day>
0
[
1
-
9
]
|
[
1
-
2
]
[
0
-
9
]
|
3
[
0
-
1
]
)
T
(?<hour>
[
0
-
1
]
[
0
-
9
]
|
2
[
0
-
3
]
)
:
(?<minute>
[
0
-
5
]
[
0
-
9
]
)
:
(?<second>
[
0
-
5
]
[
0
-
9
]
)
(?:
Z
|
.
(?<millisecond>
[
0
-
9
]
{2,3}
)
)
/
gmi
Open regex in editor
Description
This will break the datetime string into it's individual parts and add them into named groups.
Submitted by
Tony Hume
-
3 years ago