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,040 community submitted regex patterns...
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
Unreal Engine (UE_LOG) Parser - GoLang version
Golang
This regex is suitable for anyone ingesting UE_LOG files into Loki and creating dashboards in Grafana.
Submitted by
Mike McShaffry
-
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
0
Extract Region and DreUgel
PCRE2 (PHP >=7.3)
Allo extract region and dreugel from filename
Submitted by
Carlos Sing
-
3 years ago
0
Chuỗi ít nhất 1 ký tự in hoa, không bắt đầu bằng số, ít nhất 8 ký tự
PCRE2 (PHP >=7.3)
Chuỗi ít nhất 1 ký tự in hoa, không bắt đầu bằng số, ít nhất 8 ký tự
Submitted by
anonymous
-
3 years ago
1
...
793
794
795
796
797
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(
^
|
\b
)
(
[
5,9
]
\d
{2,}
|
\d
{4,}
)
(
\.
\d
+
)?
(
dollar
|
\$
)
(
\b
|
\n
)
/
gm
Open regex in editor
Description
it's brute force and messy, share a comment to simply remove redundancy
Submitted by
anonymous
-
3 years ago