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,000 community submitted regex patterns...
0
only .ts .tsx .js .jsx
ECMAScript (JavaScript)
get files extension
Submitted by
HZ
-
2 years ago
0
Get YouTube ID in link
ECMAScript (JavaScript)
regex for get video id in link
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Capture Mail
PCRE2 (PHP >=7.3)
Calcolo 1° indirizzo mail da stringa con indirizzo fisso.
Submitted by
Alessandro
-
2 years ago
0
match but no replace
PCRE2 (PHP >=7.3)
match an group in re.sub pattern but no replace it !
Submitted by
anonymous
-
2 years ago
0
US telephone number practice
ECMAScript (JavaScript)
Attempting to match valid US phone number formates
Submitted by
anonymous
-
2 years ago
0
使用した正規表現
PCRE (PHP <7.3)
用例の検索のために使用した正規表現です。
Submitted by
anonymous
-
2 years ago
0
Extract VK.com community ID
Python
Extract the numerical ID of a VK Commmunity fromit's wall url.
Submitted by
anonymous
-
2 years ago
0
Strong Password (three of the four type)
ECMAScript (JavaScript)
must use at least three of the four available character types: lowercase letters, uppercase letters, numbers, and symbols.
Submitted by
anonymous
-
2 years ago
0
match ipv4|匹配ipv4
PCRE2 (PHP >=7.3)
192.168.254.1 match 0.0.0.0 match 01.01.01.01 does not match 255.255.255.255 match 255.0.0.0 match 0.0.0.256 does not match
Submitted by
nihuge
-
2 years ago
0
belcorp
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
2 years ago
0
hash and slash
ECMAScript (JavaScript)
replace url that has a hash or slash with slash
Submitted by
anonymous
-
2 years ago
1
command df -T on linux
PCRE2 (PHP >=7.3)
command df -T on linux udev devtmpfs 65928068 0 65928068 0% /dev tmpfs tmpfs 13190576 304608 12885968 3% /run /dev/mapper/pve-root ext4 98559220 50337808 43171864 54% / tmpfs tmpfs 65952876 46800 65906076 1% /dev/shm...
Submitted by
Saulo Costa
-
2 years ago
(Last modified 2 years ago)
0
Language Values not escaped Double Quotes
PCRE2 (PHP >=7.3)
Regex that identifies unescaped double quotes in strings
Submitted by
Marco
-
2 years ago
0
C/F temp unit
PCRE2 (PHP >=7.3)
me
Submitted by
anonymous
-
2 years ago
-1
Remove HTML tags from a string using JavaScript and RegEx
ECMAScript (JavaScript)
Remove HTML tags from a string using JavaScript and RegEx
Submitted by
Megralo
-
2 years ago
0
10digit mobile number with no spaces and special characters
PCRE2 (PHP >=7.3)
Match a single character present in the list below [6-9] 6-9 matches a single character in the range between 6 (index 54) and 9 (index 57) (case sensitive) Match a single character present in the list below [0-9] {9} matches the previous token exactly 9 times 0-9 matches a single character in the ra...
Submitted by
anonymous
-
2 years ago
0
String length pattern
Golang
Simple search of string length with the regexp
Submitted by
anonymous
-
3 years ago
0
i18next Resource key
PCRE2 (PHP >=7.3)
This regex matches i18next library resource keys
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
user name between 2 and 30 character
ECMAScript (JavaScript)
regex for user name with criteria: Minimum 2 character Maximum 30 character Character must be alphanumeric, except first character is alphabetical Character "_" and "." is allowed once between first and last character
Submitted by
aicone.id
-
3 years ago
(Last modified a year ago)
0
Postcode (UK)
Python
Detects UK postcodes (minimal edge cases)
Submitted by
anonymous
-
3 years ago
1
...
141
142
143
144
145
...
900
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
a
]
.
*
[
a
]
$
|
^
[
e
]
.
*
[
e
]
$
|
^
[
i
]
.
*
[
i
]
$
|
^
[
o
]
.
*
[
o
]
$
|
^
[
u
]
.
*
[
u
]
$
/
Open regex in editor
Description
/^[aeiou].*[aeiou]$/
Submitted by
anonymous
-
3 years ago