Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET (C#)
Rust
Sponsors
Community Patterns
Search among 5,840 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Wire Rebar Mesh Signature
PCRE2 (PHP >=7.3)
Parsing signature of wire rebar mesh by "ГОСТ 23279-2012"
Submitted by
Anatoliy Zhartun
-
a year ago
2022-06-26 07:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
check mail
ECMAScript (JavaScript)
Vérifie si le mail est valide ou non
Submitted by
anonymous
-
a year ago
2022-06-24 16:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Truncate words to only 2 first characters of the word
ECMAScript (JavaScript)
It grabs 2 first characters from a word. So: please will be pl sure and sun will be su white and what will be wh ...
Submitted by
anonymous
-
a year ago
2022-06-24 14:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
1부터 45까지의 숫자만 받음
PCRE2 (PHP >=7.3)
예시) 1 // ok 45 // ok 46 // no
Submitted by
anonymous
-
a year ago
2022-06-24 07:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
하나의 문자열에서 빈칸(스페이스)가 하나만 나오도록 하는 정규식
PCRE2 (PHP >=7.3)
예시 “Cafe Latte” (ㅇ) “Ca fe Latte” (ㅇ) “Cafe Latte” (X) “ Cafe Latte” (X) “ Cafe Latte ” (X)...
Submitted by
anonymous
-
a year ago
2022-06-24 07:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
optional character
PCRE2 (PHP >=7.3)
match strings with some optional characters
Submitted by
anonymous
-
a year ago
2022-06-24 02:22
(Last modified 5 months ago)
2023-07-21 16:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
optional
PCRE2 (PHP >=7.3)
optional
Submitted by
anonymous
-
a year ago
2022-06-24 02:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Исключить слово из regexp
PCRE2 (PHP >=7.3)
Для того, чтобы найти все вхождения в строке зная начало (begin) и конец (end) подстроки без наличия в ней некоторых слов (word1 и word2), нужно использовать вот такое регулярное выражение:
Submitted by
adminway
-
a year ago
2022-06-23 19:44
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Find external resources in styles
ECMAScript (JavaScript)
Finds all external resources declared as url() in styles. Handles different quote types if any, even escaped ones: url(...) url('...') url("...") url(\'...\') url(\"...\")
Submitted by
anonymous
-
a year ago
2022-06-23 14:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
a year ago
2022-06-23 09:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
a year ago
2022-06-22 20:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Barcode Regex
PCRE2 (PHP >=7.3)
Barcode Regex
Submitted by
anonymous
-
a year ago
2022-06-22 15:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
todos and tags in code
PCRE2 (PHP >=7.3)
todos and tags in code
Submitted by
anonymous
-
a year ago
2022-06-22 12:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Note Body HTML
PCRE2 (PHP >=7.3)
Match all valid HTML tags
Submitted by
anonymous
-
a year ago
2022-06-21 21:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
a year ago
2022-06-21 19:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
a year ago
2022-06-21 15:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get connection string form global.asa
PCRE2 (PHP >=7.3)
get connection string form global.asa for vb
Submitted by
Yassine Naji
-
a year ago
2022-06-21 15:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
8~20的数字+小写字母+大写字母+可选其他字符
PCRE2 (PHP >=7.3)
如果要指定可选的特殊字符,把| 后面的 酌情替换
Submitted by
devwolf__copy-by_天涯孤雁
-
a year ago
2022-06-21 01:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
scss class matching
PCRE2 (PHP >=7.3)
scss class matching
Submitted by
lucas
-
a year ago
2022-06-20 15:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
First name Universal
PCRE2 (PHP >=7.3)
This Regex is for first name and last name with multiple spaces
Submitted by
Tej
-
a year ago
2022-06-20 15:00
1
...
77
78
79
80
81
82
83
...
292
belcorp
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(
https:
\/\/
)?
(
esika
.
tiendabelcorp
.
com
)
\/
(
mx
|
pe
)
\/
(
[
a
-
zA
-
Z0
-
9@:%._+~
\/
#?&=-
]
{2,256}
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2022-05-10 22:26