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...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
segment path
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-01-19 03:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
url
ECMAScript (JavaScript)
url
Submitted by
anonymous
-
8 years ago
2016-01-18 17:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Isolate URL in Iframe
ECMAScript (JavaScript)
Will select everything between the double quotes in an Iframe's src tag. Useful for retrieving/replacing the URL.
Submitted by
anonymous
-
8 years ago
2016-01-18 11:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
fdwfe
ECMAScript (JavaScript)
few
Submitted by
few
-
8 years ago
2016-01-18 09:38
4
4 upvotes, 0 downvotes (score 51%) (You must be signed in to vote)
find uncommented coffeescript console.logs
ECMAScript (JavaScript)
no description available
Submitted by
valiafetisov
-
8 years ago
2016-01-18 01:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
chess move detector
ECMAScript (JavaScript)
Detects SYNTACTICALLY correct chess moves (i.e. it doesn't check whether the move itself is actually valid)
Submitted by
Terence Linnell
-
8 years ago
2016-01-16 14:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SmartTag Builder RegEx Tag Parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-16 08:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Verify Amateur Radio Call Sign meets ITU Format
Python
no description available
Submitted by
Neil Johnson
-
8 years ago
2016-01-16 04:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Infobox of Wiki
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-01-15 07:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
numbahs
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-01-14 23:47
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
get file Extensions
ECMAScript (JavaScript)
var fileExtensionPatter = /\.([0-9a-z]+)(?=[?#])|(\.)(?:[\w]+)$/ var ma1 = 'css/global.css?v=1.2'.match(fileExtensionPatter)[0]; console.log(ma1); // return .css ...
Submitted by
Ahbap Aldırmaz
-
8 years ago
2016-01-13 17:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get short title of people from woflframalpha
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-01-13 16:16
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Lucene special characters
ECMAScript (JavaScript)
Capturing lucene special characters for escaping
Submitted by
Ole Martin
-
8 years ago
2016-01-13 10:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match Smalltalk method definition
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-01-13 10:25
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
pdf url link
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-13 10:00
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
DD/MM/YYYY
ECMAScript (JavaScript)
no description available
Submitted by
nehakadam
-
8 years ago
2016-01-13 06:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
reg ex for http
ECMAScript (JavaScript)
https
Submitted by
anonymous
-
8 years ago
2016-01-12 22:12
1
7 upvotes, 6 downvotes (score 29.1%) (You must be signed in to vote)
US Phone Number
ECMAScript (JavaScript)
The way I like it formatted
Submitted by
@mattbontrager
-
8 years ago
2016-01-12 18:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Username Validation
Python
username is 4-32 characters long no _,- or . at the beginning no _ or _. or . or .. or .- or _- inside no _,- or . at the end ^(?=.{4,32}$)(?![.-])(?!.*[.]{2})[a-zA-Z0-9.-]+(?<![.])$...
Submitted by
Rajesh Jayaswal
-
8 years ago
2016-01-12 06:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ISIS Checking
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-01-11 14:13
1
...
228
229
230
231
232
233
234
...
280
class code regex
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Python
r"
^
[
a
-
zA
-
Z0
-
9
]
{3,4}
$
"
mg
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-12-11 14:30