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
HL7 Locate message using fields from two segments.
ECMAScript (JavaScript)
This regex uses non capturing groups to start the match on the first field and then continue to match second field. SEGMENT\|(?:\|){}\|(?:\|){} SEGMENT is the first segment that has field to match on is the zero based count of the field in first segment...
Submitted by
Jo5eph
-
3 years ago
0
Format Australian Bank BSB number
PCRE2 (PHP >=7.3)
Format Australian Bank BSB number
Submitted by
anonymous
-
3 years ago
0
IPv4 mask
PCRE2 (PHP >=7.3)
Matches any IPv4 mask.
Submitted by
Piwi
-
3 years ago
(Last modified 3 years ago)
0
IPv4 address
PCRE2 (PHP >=7.3)
Matches any IPv4 address.
Submitted by
Piwi
-
3 years ago
(Last modified 3 years ago)
0
Indian Phone Numbers
PCRE2 (PHP >=7.3)
Regex to identify 10 digit phone numbers in India.
Submitted by
anonymous
-
3 years ago
0
Brazil's Documents
PCRE2 (PHP >=7.3)
Documents of the Brazil
Submitted by
anonymous
-
3 years ago
0
Otp Extraction
PCRE (PHP <7.3)
It will used for otp extraction from sms
Submitted by
anonymous
-
3 years ago
0
location
PCRE2 (PHP >=7.3)
locaiton regex
Submitted by
chenxi
-
3 years ago
0
Regex head tags contents
PCRE2 (PHP >=7.3)
Regex head tags contents
Submitted by
anonymous
-
3 years ago
0
regex_has_commercial_local
Python
regex
Submitted by
guif
-
3 years ago
0
regex_has_office_local
Python
regex
Submitted by
guif
-
3 years ago
0
EMDG LONG_TEXT
PCRE2 (PHP >=7.3)
1 - 256 tegn er tilladt
Submitted by
anonymous
-
3 years ago
0
02.07.b)
PCRE2 (PHP >=7.3)
02.07. FMUSI
Submitted by
anonymous
-
3 years ago
1
Match all words starting with "a" not in a Tag
ECMAScript (JavaScript)
Match all words that are not in a tag. Non-matching do not prevent matches. But fails to match terms between if no intervening
Submitted by
Michael Chambers
-
3 years ago
1
css @media match - not complete -
ECMAScript (JavaScript)
css @media match - not complete -
Submitted by
anonymous
-
3 years ago
1
match x or y but not if z is present in a string
PCRE (PHP <7.3)
matches one or two words but excludes the string if a 3rd word is present
Submitted by
Pushpesh Kumar Rajwanshi
-
3 years ago
1
Subreddit finder r/regex
Python
Finds the names of subreddits in a text. Group 1 is the subreddit name.
Submitted by
CoderGreensparrow
-
3 years ago
2
Mobile Number Regex
PCRE2 (PHP >=7.3)
The following regex validates international mobile numbers
Submitted by
anonymous
-
3 years ago
1
Search for a date (Y/m/d or d/m/Y)
PCRE2 (PHP >=7.3)
Search for a date in a text.
Submitted by
globdug
-
3 years ago
1
Mine
PCRE2 (PHP >=7.3)
smth
Submitted by
anonymous
-
3 years ago
1
...
207
208
209
210
211
...
901
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?:
8
|
\+
7
|
7
)?
[
-
\s
\(
]
*
(?<kod>
\d
{3,4}
)?
[
-
\s
\)
]
*
(?<phone>
[
\d
-
]
{7,10}
)
(?:
[
\D
]
+
(?<dob>
\d
+
)
)?
\D
*
$
/
sgm
Open regex in editor
Description
Here is a pattern for all kind of Moscow and Moscow Region phones with or without additional number.
Submitted by
cvvvlad
-
8 years ago