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 6,040 community submitted regex patterns...
0
Captures composed and simple Names, with 1st capital Letter at each subname, and following lower letters
ECMAScript (JavaScript)
captures the simple names and composed names whose first letter is Upper letter, and following letters are lower letters, for each composed name, Accepts accents in both upper and lower letters. for ex: Jean-Luc, Jean, Pierre, Pierre-Louis, Özil-Ricô...
Submitted by
anonymous
-
3 years ago
0
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
3 years ago
0
Remove specified entry from etcd configuration
Python
Given a hostname, which in the example is app-failedhost-eeeeeeeeee.node.consul, and a ETCD_INITIAL_CLUSTER= line with three hosts listed, print out the line with the given host removed Examples (3) with the host in first, second, or last position
Submitted by
stephenwb
-
3 years ago
0
Reddit video url
ECMAScript (JavaScript)
Matches Reddit video URLs to allow you to replace part of it to get the video's audio URL
Submitted by
anonymous
-
3 years ago
0
Match all text&newlines inside
Python
...
Submitted by
karkraeg
-
3 years ago
0
Numbers in Sequence
ECMAScript (JavaScript)
Checks string for numbers in sequence. Ex: 123, test345
Submitted by
anonymous
-
3 years ago
0
regex_avex_commerce
Python
regex
Submitted by
guif
-
3 years ago
0
regex_avec_bureau2
Python
regex
Submitted by
guif
-
3 years ago
0
regex_avec_bureau
Python
nlp
Submitted by
guif
-
3 years ago
0
Regex 1
Java 8
Розділення речень в тексті
Submitted by
DJI
-
3 years ago
0
regex_tous_commerce
Python
nlp
Submitted by
guif
-
3 years ago
0
Detect French way
Python
Test if a string contains a french way word
Submitted by
anonymous
-
3 years ago
0
IPv6 & IPv4 checker (Typescript compatible)
ECMAScript (JavaScript)
const ipAddressRegexp = /((^\s((([0-9]|1-9|1[0-9]{2}|20-4|25[0-5])\.){3}([0-9]|1-9|1[0-9]{2}|20-4|25[0-5]))\s$)|(^\s((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9...
Submitted by
proddy
-
3 years ago
(Last modified 3 years ago)
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
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
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
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
1
Is Sentence Correct
ECMAScript (JavaScript)
it starts with a capital letter; it ends with a full stop, question mark or exclamation point ('.', '?' or '!'); full stops, question marks and exclamation points don't appear anywhere else in the sentence.
Submitted by
Hafiz
-
3 years ago
1
...
77
78
79
80
81
...
302
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
(
[
\w\d
]
{1,}
)
(
\s
{0,}
-
\s
{0,}
)
(
[
\w\d
]
{1,}
)
(
\s
{1,}
|
(
\s
{0,}
-
\s
{0,}
)
)
(
[
\w\d
]
{1,}
)
/
gi
Open regex in editor
Description
Matches the comment string from Robo3T exports
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)