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
Community Patterns
Search among 3,400 community submitted regex patterns...
2
word before :
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
fffs
ECMAScript (JavaScript)
dfsfd
Submitted by
anonymous
-
8 years ago
2
US datetime
ECMAScript (JavaScript)
Validates a US mm-dd-yy(yy) with an optional hh:mm:ss time.
Submitted by
anonymous
-
8 years ago
2
Regex for real number
ECMAScript (JavaScript)
this regex can detect any real number whether it is signed or unsigned.plus it can detect real number both with and without floating point aka '.'.the numbers should be decimal number
Submitted by
Adnan nabib
-
3 years ago
2
URI Parser
ECMAScript (JavaScript)
A simple parser to exact all the components of a URI/URL as named groups
Submitted by
Vespion
-
9 months ago
(Last modified 9 months ago)
2
JavaScript trim string
ECMAScript (JavaScript)
Trim leading/trailing space on a string: do not use /gm flags. Trim each line of a multiline string: use the /gm flag.
Submitted by
https://github.com/naomik
-
10 years ago
2
haml attribute parsing
ECMAScript (JavaScript)
no description available
Submitted by
OnlineCop
-
10 years ago
2
filename split 2
ECMAScript (JavaScript)
no description available
Submitted by
Miloš Ratković
-
10 years ago
2
full asshole
ECMAScript (JavaScript)
no description available
Submitted by
alex
-
10 years ago
2
phone regex
ECMAScript (JavaScript)
Match phone number with extensions or not
Submitted by
Mélissa Dumont
-
9 years ago
2
Email validation
ECMAScript (JavaScript)
Very crude, but effective email validation.
Submitted by
Ryan Oaks
-
9 years ago
2
Spanish telephone number
ECMAScript (JavaScript)
Teléfonos del territorio de España. Se admiten teléfono de 9 cifras que empiecen por 9, 7 ó 6. Opcionalmente puede tener el prefijo de país siendo válidas las siguientes opciones: (+34) (0034) +34 0034 ...
Submitted by
toyeca
-
9 years ago
2
SSN
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
password 1upper 1lower 1number 1specialcharater
ECMAScript (JavaScript)
fjk@1Qaa$
Submitted by
Anuswadh
-
8 years ago
2
Removes script tags
ECMAScript (JavaScript)
no description available
Submitted by
ghs
-
8 years ago
2
Parse gMail: Get name and email addresses
ECMAScript (JavaScript)
get names and email address seperated out from comma seperated string received from gMail api
Submitted by
anonymous
-
8 years ago
1
Replace second (or further) html statement in a whole code
ECMAScript (JavaScript)
This regex replace the second tag content which has the prefix ":". If you want to replace the third, just increase the statement {1} to {2}, and so go on.
Submitted by
Caio Oliveira
-
10 years ago
1
Select inside <a> tag
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
10 years ago
1
US Phone Number
ECMAScript (JavaScript)
The way I like it formatted
Submitted by
@mattbontrager
-
8 years ago
1
Full Name
ECMAScript (JavaScript)
cheking full name e.g. Mathias d'Arras Martin Luther King, Jr. Hector Sausage-Hausen
Submitted by
Aymen
-
8 years ago
1
...
11
12
13
14
15
...
170
Allow only one space after a word
1
Regular Expression
ECMAScript (JavaScript)
/
^
[
A
-
Za
-
z
]
(
?
[
A
-
Za
-
z
]
?
)*
$
/
g
Open regex in editor
Description
This will allow only one space after a word.And also do not start with a space.
Submitted by
Rama Krishna
-
8 years ago
(Last modified 8 months ago)