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,620 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
dc/i
PCRE2 (PHP >=7.3)
特定の文字移行続く
Submitted by
anonymous
-
a year ago
2022-11-15 09:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Print
PCRE2 (PHP >=7.3)
Print
Submitted by
anonymous
-
a year ago
2022-11-15 09:59
(Last modified a year ago)
2022-11-15 14:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find encoded "&" and extract parts
PCRE2 (PHP >=7.3)
Gets the parts of a url either side of an encoded "&" (as \u0026).
Submitted by
anonymous
-
a year ago
2022-11-15 12:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match non-english number beside @
ECMAScript (JavaScript)
im looking for way to much the above title, in reliable way
Submitted by
perymimon
-
a year ago
2022-11-15 13:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract the subject of the company
PCRE2 (PHP >=7.3)
Extracts the subject of the company from strings extracted from PDF documents. \n represents a line break in the original PDF document.
Submitted by
marr.vinn
-
a year ago
2022-11-15 18:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Word boundary with umlauts
ECMAScript (JavaScript)
Word boundary \b does not support all kinds of umlauts.
Submitted by
anonymous
-
a year ago
2022-11-16 09:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
enum fields to enum mapping
PCRE2 (PHP >=7.3)
.
Submitted by
DenKu1
-
a year ago
2022-11-16 15:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find more than one word in SQL
PCRE2 (PHP >=7.3)
Finds instances of more than one word in SQL.
Submitted by
Matthew Hiebing
-
a year ago
2022-11-16 17:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
4 Digits 3 Decimals
PCRE2 (PHP >=7.3)
4 Digits 3 Decimals
Submitted by
anonymous
-
a year ago
2022-11-17 02:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DétectionMontantBasic
PCRE2 (PHP >=7.3)
Expression pour récupérer la valeur d'un montant sur facture
Submitted by
OurosIgnis
-
a year ago
2022-11-17 10:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
datetime?
PCRE2 (PHP >=7.3)
Attempt at datetime parsing
Submitted by
anonymous
-
a year ago
2022-11-17 14:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
extract numbers from DMS (degrees, minutes, seconds)
ECMAScript (JavaScript)
extract numbers from DMS (degrees, minutes, seconds). 33°28′17″ N ----> 33 / 28 / 17
Submitted by
anonymous
-
a year ago
2022-11-17 15:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
conditional
PCRE2 (PHP >=7.3)
conditional
Submitted by
anonymous
-
a year ago
2022-11-18 02:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
reset capture
PCRE2 (PHP >=7.3)
reset capture
Submitted by
anonymous
-
a year ago
2022-11-18 03:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
reset
PCRE2 (PHP >=7.3)
reset
Submitted by
anonymous
-
a year ago
2022-11-18 03:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
reset1
PCRE2 (PHP >=7.3)
reset1
Submitted by
anonymous
-
a year ago
2022-11-18 06:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Include non-whitespace
PCRE2 (PHP >=7.3)
Prevents whitespace only string
Submitted by
anonymous
-
a year ago
2022-11-18 19:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Superscript symbols and numbers in HTML only where valid.
ECMAScript (JavaScript)
Superscript most symbols and numbers in HTML, but not in actual HTML tags where they also may appear but would create invalid HTML.
Submitted by
Colin Whelan
-
a year ago
2022-11-18 19:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
测试
PCRE2 (PHP >=7.3)
竭莹用于在json中寻找评论的正则表达式
Submitted by
anonymous
-
a year ago
2022-11-19 05:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for Mastodon user accounts
PCRE2 (PHP >=7.3)
Based off https://www.regular-expressions.info/email.html
Submitted by
anonymous
-
a year ago
2022-11-21 17:51
(Last modified 5 months ago)
2023-07-19 13:59
1
...
213
214
215
216
217
218
219
...
281
Get YouTube ID in link
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(?:
youtu
\.
?
be
(?:
-nocookie
)?
(?:
\.
com
)?
(?:
\/
|
watch
\?
v=
|
embed
\/
)+
)
(
[
\w
-
]
+
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2022-05-13 22:26
(Last modified 2 years ago)
2022-05-13 23:05