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,640 community submitted regex patterns...
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
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Two digit search.
Python
Trying to understand the two digit lookup.
Submitted by
mburke05
-
8 years ago
2016-01-10 18:33
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Split HTML string
ECMAScript (JavaScript)
Extracts HTML tags, HTML entities, alphanumeric words, and the rest.
Submitted by
Azmizar
-
8 years ago
2016-01-09 04:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Phone # Match
ECMAScript (JavaScript)
Matches phone #s (aaa) bbb-cccc aaa bbb cccc aaabbbcccc and such.
Submitted by
Zach
-
8 years ago
2016-01-08 20:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Remove console.log() from javascript
Python
no description available
Submitted by
xXDGFXx
-
8 years ago
2016-01-08 06:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Invoice Number (District and Members reserve)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-07 20:53
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Invoice Number
ECMAScript (JavaScript)
no description available
Submitted by
Sebastian Proske
-
8 years ago
2016-01-07 19:50
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
file extension validation
ECMAScript (JavaScript)
no description available
Submitted by
Lisa
-
8 years ago
2016-01-07 19:04
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
subdomain rewrite
ECMAScript (JavaScript)
no description available
Submitted by
mackenzie starr
-
8 years ago
2016-01-07 17:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Finale regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-07 15:53
1
...
230
231
232
233
234
235
236
...
282
Non vowel words
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
\b
(
[^
aeiou
\s
]
+
)
\b
/
ig
Open regex in editor
Description
Loading markdown...
Submitted by
regexe
-
8 years ago
2015-12-29 19:32