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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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,840 community submitted regex patterns...
1
Validate City Names
ECMAScript (JavaScript)
Validate City Names (For USA/ Other country)
Submitted by
Ashish
-
9 years ago
1
Emoji detection for JavaScript
ECMAScript (JavaScript)
Emoji symbols character sets (added \s and +) based on https://github.com/franklsf95/ruby-emoji-regex
Submitted by
Yovav Gad
-
9 years ago
1
Word plus anyword
ECMAScript (JavaScript)
no description available
Submitted by
/ HJ
-
9 years ago
1
Validations
ECMAScript (JavaScript)
no description available
Submitted by
Shavin Fonseka
-
9 years ago
1
opsciimn
ECMAScript (JavaScript)
/iii b.lkm.0plmoi/238888963.1.175.369.2636
Submitted by
cs
-
9 years ago
1
Number With - in between
ECMAScript (JavaScript)
no description available
Submitted by
Harish
-
9 years ago
1
Extract url from code braces
ECMAScript (JavaScript)
Extract a url from as string
Submitted by
anistark
-
9 years ago
1
9999
ECMAScript (JavaScript)
Using exactly four 9s and no other digits, write an equation which evaluates to 100
Submitted by
GMiller
-
9 years ago
1
string-format
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
MASSA$%^&*)(*
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Persian Alphabet Characters
ECMAScript (JavaScript)
The Pesian Alphabet Chhars
Submitted by
Saeed Tabrizi
-
9 years ago
1
Password with length limit 8-16 characters
ECMAScript (JavaScript)
no description available
Submitted by
Dayo
-
9 years ago
1
huj
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Spell Checker Test
ECMAScript (JavaScript)
For use in testing SpellChecker(MHApps)
Submitted by
Matt
-
9 years ago
1
password matching
ECMAScript (JavaScript)
no description available
Submitted by
scopevale
-
9 years ago
1
Group of Consonants 3 or more
ECMAScript (JavaScript)
Look for a group of consonants with 3 or more in succession.
Submitted by
Jeff Tomlinson, Prime Data
-
9 years ago
1
DB2 Nodes Line Check
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
DB2 Nodes improved
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
latest
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
js console.log(wahtever) finder
ECMAScript (JavaScript)
should find any console.log(wahtever with or without - simple or double - quote
Submitted by
denis florkin
-
9 years ago
1
...
124
125
126
127
128
...
192
Community Library Entry
3
Regular Expression
Golang
`
^
(?P<scheme>
[^
:
\/
?#
]
+
)
:
(?:
\/\/
)?
(?:
(?:
(?P<login>
[^
:
]
+
)
(?:
:
(?P<password>
[^
@
]
+
)?
)?
@
)?
(?P<host>
[^
@
\/
?#:
]
*
)
(?:
:
(?P<port>
\d
+
)?
)?
)?
(?P<path>
[^
?#
]
*
)
(?:
\?
(?P<query>
[^
#
]
*
)
)?
(?:
#
(?P<fragment>
.
*
)
)?
`
gm
Open regex in editor
Description
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago