Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,440 community submitted regex patterns...
1
number of spaces at beginning of lines
ECMAScript (JavaScript)
find the number of spaces at the beginning of lines in a file.
Submitted by
andy
-
9 years ago
1
Regex SCript replace
ECMAScript (JavaScript)
no description available
Submitted by
MGO
-
9 years ago
1
dd-mm-yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
anti-xss regex
ECMAScript (JavaScript)
this is a white list regex that invalidates input with "=
Submitted by
Ivan Cai
-
9 years ago
(Last modified a year ago)
1
whitespaces and positive numerics
ECMAScript (JavaScript)
//Accepts whitespaces and positive numeric values including integers and decimals(ortional) with 3 precisions only. //Ex: "999", "99999.999", " 999.999" -> ACCEPTABLE
Submitted by
Pubudu (motustudio)
-
9 years ago
1
Match pointless spaces in space separated list
ECMAScript (JavaScript)
'test' - no match 'test test' - no match ' test' - match (space at the start) 'test ' - match (space at the end) 'test test' - match (single space in the middle)
Submitted by
J. Harry B.
-
9 years ago
1
•
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
File extention
ECMAScript (JavaScript)
Extract file extention from URL
Submitted by
anonymous
-
9 years ago
1
simple url regex (http,https)
ECMAScript (JavaScript)
To recognize url like (for the more complex one): https://word.office.live.com/wv/WordView.aspx?FBsrc=https%3A%2F%2Fwww.facebook.com%2Fattachments%2Ffile_preview.php%3Fid%3D713987203%26time%3D145332%26metadata&access_token=1606%3AAVKzw1&title=2016+Test+Document+Word+Online.doc
Submitted by
Pika
-
9 years ago
1
Match Markdown Text Paragraph at a Root Level
ECMAScript (JavaScript)
http://stackoverflow.com/q/34914559/368691
Submitted by
Gajus Kuizinas
-
9 years ago
1
Brazilian Phone number
ECMAScript (JavaScript)
With optional 9 digit
Submitted by
Matheus Gambati
-
9 years ago
1
Find untranslated strings, angular
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
allow only alpabets digits and special characters
ECMAScript (JavaScript)
allow only alpabets digits and special characters
Submitted by
anonymous
-
8 years ago
1
email bunch
ECMAScript (JavaScript)
to check email bunch with commas
Submitted by
jaswant singh
-
8 years ago
1
dd dd
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
IBAN regexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
username
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Extract domain from URL
ECMAScript (JavaScript)
Extract the domain out of an url
Submitted by
anubhava
-
8 years ago
1
xregexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Exclude filename path
ECMAScript (JavaScript)
Regular expression to exclude a filename path.
Submitted by
JimiC
-
8 years ago
1
...
153
154
155
156
157
...
172
Get First Name
0
Regular Expression
ECMAScript (JavaScript)
/
(
[^
\s
]
+
)
/
Open regex in editor
Description
Grab a first name from a full name string
Submitted by
Tom
-
2 years ago