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,600 community submitted regex patterns...
0
4 upvotes, 4 downvotes (score 21.5%) (You must be signed in to vote)
Find email address in a string.
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-06-11 17:57
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Fix Spanish Quote Marks
Python
Adds a ¿, for ¡ replace the last ? for !
Submitted by
paconaranjo
-
9 years ago
2014-06-06 18:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
trGet
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-06-06 15:12
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
Regex to select text withing square brackets.
ECMAScript (JavaScript)
no description available
Submitted by
Dhrubajyoti Gogoi
-
9 years ago
2014-06-04 15:19
2
7 upvotes, 5 downvotes (score 32%) (You must be signed in to vote)
trim string
ECMAScript (JavaScript)
trim leading and trailing whitespace from a string
Submitted by
Dave Atchley
-
9 years ago
2014-06-03 14:13
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Signed integer
ECMAScript (JavaScript)
no description available
Submitted by
markus hooge
-
9 years ago
2014-05-28 15:04
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
how I retrieve the domain without www or other cruft
Python
no description available
Submitted by
bronsen
-
9 years ago
2014-05-28 13:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
example
Python
group matching
Submitted by
anonymous
-
9 years ago
2014-05-23 03:46
7
30 upvotes, 23 downvotes (score 43.3%) (You must be signed in to vote)
Extract Protocol, URL, URL Path, get parameters and hash from URI
Python
This is simplified from my last submission.
Submitted by
Dale O'Brien
-
9 years ago
2014-05-22 23:34
1
7 upvotes, 6 downvotes (score 29.1%) (You must be signed in to vote)
Parse a HTML URL
Python
Break a URL into parts: protocol url path get parameters hash
Submitted by
Dale O'Brien
-
9 years ago
2014-05-22 23:07
7
17 upvotes, 10 downvotes (score 44.2%) (You must be signed in to vote)
split URL into location-resource-params (JavaScript)
ECMAScript (JavaScript)
Extract resource location, name and query parameters from a URL (JavaScript version)
Submitted by
cebence
-
9 years ago
2014-05-22 17:18
1
5 upvotes, 4 downvotes (score 26.7%) (You must be signed in to vote)
quoted string in VB.net format
Python
Get all strings in vb.net format (even nested quotes"
Submitted by
Alan Moore (http://stackoverflow.com/questions/2148587/finding-quoted-strings-with-escaped-quotes-in-c-sharp-using-a-regular-expression) modified by j
-
9 years ago
2014-05-20 11:06
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
almost any similar word
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-05-20 09:12
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Words that start with...
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-05-20 05:55
4
6 upvotes, 2 downvotes (score 40.9%) (You must be signed in to vote)
Repeated words (JS)
ECMAScript (JavaScript)
no description available
Submitted by
paconaranjo
-
9 years ago
2014-05-20 01:44
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Parasite subtitles
Python
no description available
Submitted by
Andrey Spiridonov
-
9 years ago
2014-05-19 18:38
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Remove italics in less than three letters...
ECMAScript (JavaScript)
Subtitle Edit
Submitted by
paconaranjo
-
9 years ago
2014-05-19 04:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Path to devices
Python
no description available
Submitted by
Airam
-
9 years ago
2014-05-16 00:05
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Punto antes de ¿ o ¡
ECMAScript (JavaScript)
Corregir la falta de punto cuando se abre un signo de exclamación o interrogación para el idioma español.
Submitted by
paconaranjo
-
9 years ago
2014-05-15 21:29
34
123 upvotes, 89 downvotes (score 51.3%) (You must be signed in to vote)
Google like regex
ECMAScript (JavaScript)
Attempts to mimic Google search box behavior, returning an array with the separated search strings (that keep the +/- indicator for following operations)
Submitted by
mettjus
-
9 years ago
2014-05-12 13:35
1
...
274
275
276
277
278
279
280