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 7,960 community submitted regex patterns...
6
Simple Number
ECMAScript (JavaScript)
Verifies Number is a negative/positive number. Number may be a decimal, but if it is, it requires at least one number before and after the decimal place. Decimal numbers may also be negative or positive. Only 1 decimal place is allowed.
Submitted by
David P Smith
-
9 years ago
5
Accept url without www
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
5
HTML img
ECMAScript (JavaScript)
Grabs all HTML tags
Submitted by
Pirate11
-
9 years ago
5
password 1upper 1lower 1number 1specialcharater
ECMAScript (JavaScript)
fjk@1Qaa$
Submitted by
Anuswadh
-
8 years ago
5
Youtube ID matcher
ECMAScript (JavaScript)
Credit: https://gist.github.com/FinalAngel/1876898
Submitted by
anonymous
-
11 years ago
5
MAC address
ECMAScript (JavaScript)
a mac address separated by dashes or colons.
Submitted by
anonymous
-
9 years ago
4
Repeated words (JS)
ECMAScript (JavaScript)
no description available
Submitted by
paconaranjo
-
10 years ago
4
url matching
ECMAScript (JavaScript)
supports all major protocols
Submitted by
matheus silva
-
9 years ago
4
vowel words
ECMAScript (JavaScript)
([!-\~]aeiou)
Submitted by
Ipsita Mohanty
-
8 years ago
4
url
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
phone
Python
matches: + example: +52 33 3884 7720 +1 770 343 5788
Submitted by
miqui
-
9 years ago
4
Mobile phone russia
ECMAScript (JavaScript)
Submitted by
Johhny
-
9 years ago
4
Match Brackets and anything inside
ECMAScript (JavaScript)
no description available
Submitted by
andreayang
-
11 years ago
4
Capturing items from multiple lists using a single regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
4
Complete imgur link regex
Python
This regex grabs all kinds of imgur links and groups them in meaningful names aswell. This way you have full flow-control in your python-scripts.
Submitted by
Mio
-
9 years ago
4
Full e-mail validator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
Extract asp label
ECMAScript (JavaScript)
I am trying to extract the asp:label syntax using Regex but I am getting some error can some one help me
Submitted by
anonymous
-
11 years ago
3
Outside Quotes
ECMAScript (JavaScript)
match any string outside of single or double quotes
Submitted by
anonymous
-
10 years ago
3
TEST
ECMAScript (JavaScript)
negation
Submitted by
anonymous
-
9 years ago
3
Test a string against CamelCase
ECMAScript (JavaScript)
See if a string is in CamelCase format
Submitted by
Tonny Xu
-
9 years ago
1
...
5
6
7
8
9
...
398
Match a URL from a text message
3
Regular Expression
ECMAScript (JavaScript)
/
[
-a
-
zA
-
Z0
-
9@:%._
\+
~#=
]
{2,256}
\.
[
a
-
z
]
{2,6}
\b
[
-a
-
zA
-
Z0
-
9@:%_
\+
.~#?&//=
]
*
/
i
Open regex in editor
Description
I use this to match the first url present in a text message.
Submitted by
anonymous
-
9 years ago