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 2,780 community submitted regex patterns...
1
Reasonable E-mail Validator v1.0
PCRE2 (PHP >=7.3)
Here is what I came up with for a 'reasonable' e-mail validator. Explanation @ https://geekalicious.org/d/90-validating-e-mail-addresses-with-regex-pcre
Submitted by
16BitMiker.com
-
3 years ago
0
Extract words start with _ and end with ;
PCRE2 (PHP >=7.3)
Extract words start with _ and end with ;
Submitted by
Ashish Shah
-
3 years ago
1
Search for word breaks in CamelCase string
PCRE2 (PHP >=7.3)
This finds the boundaries of words in a camel case string
Submitted by
https://stackoverflow.com/questions/7593969/regex-to-split-camelcase-or-titlecase-advanced
-
3 years ago
0
Regex to match 1000, >1000, >=1000, =1000, <=1000, ~1000
PCRE2 (PHP >=7.3)
Regex to match special characters followed by a specific number(1000)
Submitted by
Mehul Thakkar
-
3 years ago
1
Email Extractor
PCRE2 (PHP >=7.3)
([a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9_-]+)
Submitted by
Kashif
-
3 years ago
0
Cities
PCRE2 (PHP >=7.3)
Cities
Submitted by
anonymous
-
3 years ago
0
найдет все числа и отрицательные и положительные в строке
PCRE2 (PHP >=7.3)
` const s = '23+-22.2222+-2334+5-5/225-8'; const re = /(?!:\W)(\-)?(\d+)[.]?(\d+)?/gm; console.log ( s.match ( re ) ); //[ '23', '-22.2222', '-2334', '5', '-15', '22', '5', '-8' ] `
Submitted by
Kasap Victor
-
3 years ago
0
Слова які починаються та закінчуються одинаково
PCRE2 (PHP >=7.3)
Слова які починаються та закінчуються одинаково
Submitted by
DJI
-
3 years ago
0
Виділення слів в тексті
PCRE2 (PHP >=7.3)
Виділення слів в тексті
Submitted by
anonymous
-
3 years ago
0
Regex 1
Java 8
Розділення речень в тексті
Submitted by
DJI
-
3 years ago
0
GitLab Path
PCRE2 (PHP >=7.3)
GitLab Path
Submitted by
anonymous
-
3 years ago
0
Regular expression for nested Curly brackets
PCRE2 (PHP >=7.3)
Regular expression for nested Curly brackets
Submitted by
Romuald
-
3 years ago
0
Format Australian Bank BSB number
PCRE2 (PHP >=7.3)
Format Australian Bank BSB number
Submitted by
anonymous
-
3 years ago
0
IPv4 mask
PCRE2 (PHP >=7.3)
Matches any IPv4 mask.
Submitted by
Piwi
-
3 years ago
(Last modified 3 years ago)
0
IPv4 address
PCRE2 (PHP >=7.3)
Matches any IPv4 address.
Submitted by
Piwi
-
3 years ago
(Last modified 3 years ago)
0
Indian Phone Numbers
PCRE2 (PHP >=7.3)
Regex to identify 10 digit phone numbers in India.
Submitted by
anonymous
-
3 years ago
0
Brazil's Documents
PCRE2 (PHP >=7.3)
Documents of the Brazil
Submitted by
anonymous
-
3 years ago
0
location
PCRE2 (PHP >=7.3)
locaiton regex
Submitted by
chenxi
-
3 years ago
0
Regex head tags contents
PCRE2 (PHP >=7.3)
Regex head tags contents
Submitted by
anonymous
-
3 years ago
0
EMDG LONG_TEXT
PCRE2 (PHP >=7.3)
1 - 256 tegn er tilladt
Submitted by
anonymous
-
3 years ago
1
...
108
109
110
111
112
...
139
Validate email
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
[^
<>()[
\]\\
.,;:
\s
@"
]
+
(
\.
[^
<>()[
\]\\
.,;:
\s
@"
]
+
)*
)
|
(
"
.
+
"
)
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\]
)
|
(
(
[
a
-
zA
-
Z
\-
0
-
9
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,}
)
)
$
/
Open regex in editor
Description
Regex for email validation
Submitted by
anonymous
-
2 years ago