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 2,760 community submitted regex patterns...
0
scss class matching
PCRE2 (PHP >=7.3)
scss class matching
Submitted by
lucas
-
3 years ago
0
8~20的数字+小写字母+大写字母+可选其他字符
PCRE2 (PHP >=7.3)
如果要指定可选的特殊字符,把| 后面的 酌情替换
Submitted by
devwolf__copy-by_天涯孤雁
-
3 years ago
0
get connection string form global.asa
PCRE2 (PHP >=7.3)
get connection string form global.asa for vb
Submitted by
Yassine Naji
-
3 years ago
0
get oneoff link
PCRE2 (PHP >=7.3)
Retrieves the path of the oneoff from a fastfile using the "android upload_to_s3" lane
Submitted by
Sebastian Silbermann
-
3 years ago
0
Select everything after "=" to the end of the line
PCRE2 (PHP >=7.3)
Select everything after "=" to the end of the line
Submitted by
anonymous
-
3 years ago
0
Note Body HTML
PCRE2 (PHP >=7.3)
Match all valid HTML tags
Submitted by
anonymous
-
3 years ago
0
Barcode Regex
PCRE2 (PHP >=7.3)
Barcode Regex
Submitted by
anonymous
-
2 years ago
0
RegEX_CPF (Formatação opcional)
PCRE2 (PHP >=7.3)
Match 1: 123.465.789-00 Group 1: 123.465.789-00 Group 2: 123 Group 3: 456 Group 4: 789 Group 5: 00
Submitted by
BAWB.io
-
2 years ago
0
Path shortener
PCRE2 (PHP >=7.3)
Used to shorten a path before printing it. Useful to know where we are without printing a 10km path to the screen !
Submitted by
totok
-
2 years ago
0
Исключить слово из regexp
PCRE2 (PHP >=7.3)
Для того, чтобы найти все вхождения в строке зная начало (begin) и конец (end) подстроки без наличия в ней некоторых слов (word1 и word2), нужно использовать вот такое регулярное выражение:
Submitted by
adminway
-
2 years ago
0
optional
PCRE2 (PHP >=7.3)
optional
Submitted by
anonymous
-
2 years ago
0
optional character
PCRE2 (PHP >=7.3)
match strings with some optional characters
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
0
하나의 문자열에서 빈칸(스페이스)가 하나만 나오도록 하는 정규식
PCRE2 (PHP >=7.3)
예시 “Cafe Latte” (ㅇ) “Ca fe Latte” (ㅇ) “Cafe Latte” (X) “ Cafe Latte” (X) “ Cafe Latte ” (X)...
Submitted by
anonymous
-
2 years ago
0
1부터 45까지의 숫자만 받음
PCRE2 (PHP >=7.3)
예시) 1 // ok 45 // ok 46 // no
Submitted by
anonymous
-
2 years ago
0
Wire Rebar Mesh Signature
PCRE2 (PHP >=7.3)
Parsing signature of wire rebar mesh by "ГОСТ 23279-2012"
Submitted by
Anatoliy Zhartun
-
2 years ago
0
Regex for youtube links
PCRE2 (PHP >=7.3)
Can obtain videoId using videoId () { return this.video_url.match(/(?:https?:\/\/)?(?:www\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\/?\?v=|\/embed\/|\/shorts\/|\/)(\w+)/)[1] } ...
Submitted by
anonymous
-
2 years ago
0
Capture Data between 2 slashes
PCRE2 (PHP >=7.3)
Capture Data between 2 slashes
Submitted by
Sarnath Jegadeesan
-
2 years ago
0
Split The Phone Numbers
PCRE2 (PHP >=7.3)
Split The Phone Numbers
Submitted by
anonymous
-
2 years ago
0
Ipv4 validation
PCRE2 (PHP >=7.3)
regex for ip validation
Submitted by
Amper
-
2 years ago
0
嵌入条件
PCRE2 (PHP >=7.3)
嵌入条件
Submitted by
anonymous
-
2 years ago
1
...
96
97
98
99
100
...
138
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
[
0
-
9
]
{3}
)
\.
?
(
[
0
-
9
]
{3}
)
\.
?
(
[
0
-
9
]
{3}
)
\-
?
(
[
0
-
9
]
{2}
)
(
[
-
]
)?
)
$
/
Open regex in editor
Description
Match 1: 123.465.789-00 Group 1: 123.465.789-00 Group 2: 123 Group 3: 456 Group 4: 789 Group 5: 00
Submitted by
BAWB.io
-
2 years ago