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,020 community submitted regex patterns...
0
Postfix
PCRE2 (PHP >=7.3)
Add DR to end of line
Submitted by
anonymous
-
3 years ago
0
PO Number
Python
Detects specific prefixes followed by number series
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Credit Note
Python
Detects specific word in a sentence
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Postcode (UK)
Python
Detects UK postcodes (minimal edge cases)
Submitted by
anonymous
-
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
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
String length pattern
Golang
Simple search of string length with the regexp
Submitted by
anonymous
-
3 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
-
3 years ago
0
C/F temp unit
PCRE2 (PHP >=7.3)
me
Submitted by
anonymous
-
3 years ago
0
Language Values not escaped Double Quotes
PCRE2 (PHP >=7.3)
Regex that identifies unescaped double quotes in strings
Submitted by
Marco
-
3 years ago
0
hash and slash
ECMAScript (JavaScript)
replace url that has a hash or slash with slash
Submitted by
anonymous
-
3 years ago
0
belcorp
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
3 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
-
3 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
-
3 years ago
0
Extract VK.com community ID
Python
Extract the numerical ID of a VK Commmunity fromit's wall url.
Submitted by
anonymous
-
3 years ago
0
使用した正規表現
PCRE (PHP <7.3)
用例の検索のために使用した正規表現です。
Submitted by
anonymous
-
3 years ago
0
US telephone number practice
ECMAScript (JavaScript)
Attempting to match valid US phone number formates
Submitted by
anonymous
-
3 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
-
3 years ago
0
Capture Mail
PCRE2 (PHP >=7.3)
Calcolo 1° indirizzo mail da stringa con indirizzo fisso.
Submitted by
Alessandro
-
3 years ago
0
Get YouTube ID in link
ECMAScript (JavaScript)
regex for get video id in link
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
...
435
436
437
438
439
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(?:
1
?
\d
?
)?
\d
|
2
(?:
[
0
-
4
]
\d
|
5
[
0
-
5
]
)
)
(?:
\.
(?1)
){3}
$
/
gm
Open regex in editor
Description
Matches any IPv4 address.
Submitted by
Piwi
-
3 years ago
(Last modified 3 years ago)