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,820 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
words in same sentence (also not consecutive)
ECMAScript (JavaScript)
La regex individua più parole, anche non consecutive, presenti nella stessa frase (non separate da un punto). Affinata per la gestione dell'attribuzione del flag cantina dell'importer.
Submitted by
anonymous
-
3 years ago
2020-07-02 13:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Replacing markup link to html
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-07-02 10:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
matching phone numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-07-02 08:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
matching numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-07-01 21:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
word boundary position
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-07-01 20:31
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Regex tutorial
Java 8
Case insensitive match the whole word betwween \bword\b
Submitted by
anonymous
-
3 years ago
2020-07-01 10:00
(Last modified 4 months ago)
2023-07-20 07:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
map json
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-06-30 09:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Multilingual Website finding, information-extractive, regex. VERY USEFUL. NO CREDIT NEEDED
ECMAScript (JavaScript)
Website finder Author: Bryan Hu What does this does This can give you very useful information about the sites this regex extracts. It can extract the main domains of a variety of sites, give you...
Submitted by
Bryan Hu
-
3 years ago
2020-06-30 01:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
String to Number
ECMAScript (JavaScript)
String to Number
Submitted by
anonymous
-
3 years ago
2020-06-29 21:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
0 or more quantifier (+, *)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-06-28 05:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Last Occurrence of comma(,) in a string
ECMAScript (JavaScript)
Used this to dynamically create placeholder text when a user changed the coordinates format from default to custom. ex ['DD', 'DDM', 'DMS'] to remove the comma from the string. The format comes from an array of strings so I had to do a join(', ').replace(/\,(?=*$)/g, ' or') to get DD, DDM or DMS
Submitted by
anonymous
-
3 years ago
2020-06-27 05:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Filter text inside square brackets and text before and after
ECMAScript (JavaScript)
This can be used for templating
Submitted by
anonymous
-
3 years ago
2020-06-26 16:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Age
ECMAScript (JavaScript)
Vienas skaitmuo (nuo 3), du skaitmenys (iki 69) pvz.: 3 69
Submitted by
anonymous
-
3 years ago
2020-06-21 06:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Price
ECMAScript (JavaScript)
tuščias laukas sveikas skaičius 1 arba 2 skaičiai po kablelio / taško pvz. 123 123,5...
Submitted by
anonymous
-
3 years ago
2020-06-20 12:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Barcode
ECMAScript (JavaScript)
13 skaitmenų be tarpų pvz.: 5000299298688
Submitted by
anonymous
-
3 years ago
2020-06-20 12:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Decimals
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-06-18 13:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Decimals
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-06-18 13:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Escape Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-06-18 12:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check Thai character for the last name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-06-18 08:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Trova la prima lettera nel nome di un file e la mette in maiuscolo
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-06-17 19:33
1
...
171
172
173
174
175
176
177
...
291
匹配data url
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
data:
(?:
(?<mime>
[^
;,
]
+
)
;
?
)?
(?:
;charset=
(?<charset>
[^
;,
]
+
)
;
?
)?
(?:
;
(?<base64>
base64
)
;
?
)?
,
(?<content>
.
*
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2020-02-24 06:47