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 13,020 community submitted regex patterns...
0
Split words in brackets
Golang
Split words in brackets
Submitted by
ugurakcil
-
2 years ago
0
Match Strings itself
PCRE (PHP <7.3)
Match Strings itself, include ""
Submitted by
picc_lu
-
2 years ago
0
match first lowercase letter of every word
ECMAScript (JavaScript)
match first lowercase letter of every word
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
XML Parsing for IE<9
ECMAScript (JavaScript)
All my marbles are gone.
Submitted by
Odd Stråbø
-
2 years ago
(Last modified 2 years ago)
0
Regex101
ECMAScript (JavaScript)
To submit my account
Submitted by
anonymous
-
2 years ago
0
Inserting *
ECMAScript (JavaScript)
REGEX from Formal Lang for inserting * from implicit multiplication
Submitted by
anonymous
-
2 years ago
0
camelCase Matches
PCRE (PHP <7.3)
camelCase Matches
Submitted by
anonymous
-
2 years ago
0
camelCase Matches
PCRE (PHP <7.3)
camelCase Matches
Submitted by
anonymous
-
2 years ago
0
C-style block comment with "*/" escape
Golang
Match /* ... / with escape of quotation marks, e.g. / "*/" */. No look ahead needed.
Submitted by
Guyutongxue
-
2 years ago
0
German Bible veses
ECMAScript (JavaScript)
A regex that captures the common Bible books, chapter, and verses for the German language.
Submitted by
Sergio Santos
-
2 years ago
(Last modified 2 years ago)
0
Separate First Vowel
ECMAScript (JavaScript)
Separator for a vowel start string
Submitted by
FerreiraR
-
2 years ago
0
Diskusija
ECMAScript (JavaScript)
ss
Submitted by
LiunuxMan
-
2 years ago
0
Simple Address Validation
ECMAScript (JavaScript)
This tries to validate the address in English-compliant formats. Note: Not tested for script languages Arabic. const regExp = /^(?![ -.&,'":?!/])(?!.[- &'":]$)(?!.[-.#@&,:?!/]{2})[a-zA-Z0-9- .#@&,_'":.?!/]+$/; `
Submitted by
Sowed Castelli
-
2 years ago
0
Verificar caracter repetido
Java 8
Verificar caracter repetido
Submitted by
anonymous
-
2 years ago
0
屏蔽脏话
ECMAScript (JavaScript)
屏蔽骂人脏话、政治言论等
Submitted by
anonymous
-
2 years ago
0
Michele XP E
ECMAScript (JavaScript)
Teste
Submitted by
Luciano
-
2 years ago
0
address
PCRE (PHP <7.3)
not sure
Submitted by
anonymous
-
2 years ago
0
1030
ECMAScript (JavaScript)
Validation
Submitted by
Christopher Santos
-
2 years ago
0
Exercise for FreeCodeCamp - Restrict Possible Usernames
ECMAScript (JavaScript)
Usernames are used everywhere on the internet. They are what give users a unique identity on their favorite sites. You need to check all the usernames in a database. Here are some simple rules that users have to follow when creating their username. Usernames can only use alpha-numeric characters. ...
Submitted by
juanalbglz
-
2 years ago
0
Match everything in between quotes
ECMAScript (JavaScript)
Match everything in between quotes
Submitted by
anonymous
-
2 years ago
1
...
619
620
621
622
623
...
651
URL regexp
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
11 years ago