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 17,660 community submitted regex patterns...
0
tag(value) or bare tag
PCRE2 (PHP >=7.3)
An expression to parse strings in the format tag(value) or tag or tag()
Submitted by
anonymous
-
3 years ago
0
hostname - websites
ECMAScript (JavaScript)
getting the hostname from website
Submitted by
anonymous
-
3 years ago
0
keywords
Python
matching a keyword expression and wrapping it with an html tag
Submitted by
anonymous
-
3 years ago
0
查找 by 非贪婪
ECMAScript (JavaScript)
默认是贪婪模式;在量词后面直接加上一个问号?就是非贪婪模式。
Submitted by
anonymous
-
3 years ago
0
name
PCRE2 (PHP >=7.3)
One name
Submitted by
sharif
-
3 years ago
0
Argument:Value, exclusively
PCRE2 (PHP >=7.3)
Attempt to only match Argument:Value pairs, but exclude numeric:numeric (for instance a time value format) using negative lookahead. Can be used for console arguments, examples: USE_DEV:true. => valid / match 07:00 or 07:00:00 => invalid / no match
Submitted by
Theo V
-
3 years ago
0
match hash route #/path?params
ECMAScript (JavaScript)
Example: input: #/articles?page=1&show=published&by=updated&start=newest&preview=true output:...
Submitted by
oklookat
-
3 years ago
0
PublicRegexs
ECMAScript (JavaScript)
My public regexs
Submitted by
anonymous
-
3 years ago
0
get all image link in html
PCRE2 (PHP >=7.3)
get all image link in html
Submitted by
anonymous
-
3 years ago
0
py.checkio.org, task.long-repeat-inside
PCRE2 (PHP >=7.3)
in this one you should find a repeating sequence inside the substring. I have an example for you: in a string "abababc" - "ab" is a sequence that repeats more than once, so the answer will be "ababab" `repeat_inside('aaaaa') == 'aaaaa' repeat_inside('aabbff') == 'aa' repeat_inside('aababcc'...
Submitted by
https://py.checkio.org/mission/long-repeat-inside/publications/rossras/python-3/regular-expressions-now-you-have-two-problems/
-
3 years ago
(Last modified 3 years ago)
0
Wersjonowanie semantyczne
PCRE (PHP <7.3)
a
Submitted by
https://semver.org/lang/ko/
-
3 years ago
0
find match in url
Python
find the word "google" with "i" or "com"
Submitted by
Shai chikorel
-
3 years ago
0
/user/favorites
PCRE2 (PHP >=7.3)
Url endpoint
Submitted by
anonymous
-
3 years ago
0
Country codes ISO 3166-1 alpha-2
PCRE2 (PHP >=7.3)
Matches to a valid ISO 3166-1 alpha-2 pattern.
Submitted by
anonymous
-
3 years ago
0
Phone of 10 and 11 digits
PCRE2 (PHP >=7.3)
Phone validation
Submitted by
anonymous
-
3 years ago
0
Best ISO-8601 Date and Time parser
ECMAScript (JavaScript)
This regex has leeway for: 'T' or space separating date and time Missing 'Z' missing milliseconds missing seconds (date, hours, and minutes only)...
Submitted by
Jeff Galbraith
-
3 years ago
0
Data URL
PCRE2 (PHP >=7.3)
Parsing of Data URLs
Submitted by
anonymous
-
3 years ago
0
Data-URL Declaration
ECMAScript (JavaScript)
Match the Data-URL Declaration that appears when reading a blob as Data URL from JS FileReader
Submitted by
anonymous
-
3 years ago
0
等等
PCRE2 (PHP >=7.3)
方法
Submitted by
anonymous
-
3 years ago
0
Multi-line Remove Protocol from URL
PCRE2 (PHP >=7.3)
Remove either "HTTPS://" or "HTTP://" from the beginning of any string. Flags for multi-line and case-insensitive search are set. Multiline matches text if it is the beginning of the new line. Only matches the beginning of the string or of a new line.
Submitted by
anonymous
-
3 years ago
1
...
464
465
466
467
468
...
883
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?(DEFINE)
(?'loc_part'
[
\w
!#$%&'*+
\-\/
=?^`{|}~
]
+
)
(?'loc'
\g'loc_part'
(?:
\.
\g'loc_part'
)*
)
(?'subdom'
[
a
-
z
]
(?:
[
a
-
z
\d
-
]
*
[
a
-
z
\d
]
)?
)
(?'tld'
[
a
-
z
]
{2,6}
)
)
(?'local'
\g'loc'
)
@
(?'domain'
(?:
\g'subdom'
\.
)+
\g'tld'
)
/
ixg
Open regex in editor
Description
match some emails and extract their local part and domain
Submitted by
dang duomg 191
-
4 months ago
(Last modified 4 months ago)