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 18,000 community submitted regex patterns...
0
Unicode alphanumeric (any language) with whitespaces
ECMAScript (JavaScript)
Match any alphanumeric string in any language. White spaces are allowed. (Usefull for ECMAScript 5)
Submitted by
Angelos Gkountis
-
9 years ago
-1
Only letters without numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Phone with extension
PCRE (PHP <7.3)
no description available
Submitted by
jerndt
-
9 years ago
2
Remove script tags from code
PCRE (PHP <7.3)
Regular expression to remove only the tags from the code. The regular expression only removes the tags, not the JS code inside the tag.
Submitted by
IvenMS
-
9 years ago
1
delete line numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
extract node values from xml string
PCRE (PHP <7.3)
extract node values from xml string
Submitted by
anonymous
-
9 years ago
1
OFA values
PCRE (PHP <7.3)
either 99-99 or one looks more liek the OFA ones
Submitted by
anonymous
-
9 years ago
1
CSS3 color expressions
PCRE (PHP <7.3)
Up to spec as of 2016-03-16. You can choose whether to enforce industry-standard casing for keywords via the "i" flag, which is enabled by default. Note that both "currentcolor" and "currentColor" are common; the relevant spec uses "currentColor", but several browsers prefer "currentcolor".
Submitted by
Paul Buonopane @ NamePros
-
9 years ago
1
select folders after url
PCRE (PHP <7.3)
no description available
Submitted by
Mauricio Rocha
-
9 years ago
1
somente telefone
PCRE (PHP <7.3)
teste para validação de números de telefone
Submitted by
Mauricio Rocha
-
9 years ago
1
DataPower Syslog
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Pull out percentages
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Date
PCRE (PHP <7.3)
Valid Date format:
Submitted by
Daniel
-
9 years ago
1
IPv4 extraction regex
PCRE (PHP <7.3)
Looks bloated, but also validates that the address format is correct, i.e. no false-positives for 777.777.777.777
Submitted by
Jacob
-
9 years ago
1
test regex123
PCRE (PHP <7.3)
123
Submitted by
David
-
9 years ago
1
Brasileirão - Url de leagues
Python
no description available
Submitted by
jroque Junior | Raphael Fruneaux
-
9 years ago
1
Testing Service
PCRE (PHP <7.3)
Testing Service
Submitted by
anonymous
-
9 years ago
1
Dell teg vis content
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Find untranslated strings, angular
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Movizland
Python
no description available
Submitted by
anonymous
-
9 years ago
1
...
718
719
720
721
722
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
import
\s
+
(?:
(?:
(
[
A
-
z_$
]
[
\w
$
]
*
)
|
\*
\s
+
as
\s
+
(
[
A
-
z_$
]
[
\w
$
]
*
)
|
(
{
\s
*
[
A
-
z_$
]
[
\w
$
]
*
(?:
\s
+
as
\s
+
[
A
-
z_$
]
[
\w
$
]
*
)?
\s
*
(?:
,
\s
*
[
A
-
z_$
]
[
\w
$
]
*
(?:
\s
+
as
\s
+
[
A
-
z_$
]
[
\w
$
]
*
)?
\s
*
)?
}
)
)
\s
+
from
\s
+
(
(
"
|
'
|
`
)
.
*
\5
)
|
(
(
"
|
'
|
`
)
.
*
\7
)
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago