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 11,500 community submitted regex patterns...
2
ofstream ifstream file C++
Python
match ofstream of("test.txt", ios_base::app); ofstream of("test.txt", ios_base::trunc); ofstream of("test.txt", ios_base::binary);
Submitted by
Денис Суховерхов
-
8 years ago
1
ofsream open file C++
Python
match of.open("test.txt");
Submitted by
Денис суховерхов
-
8 years ago
2
Parse Cabrillo Amateur Radio Log Record
PCRE (PHP <7.3)
no description available
Submitted by
NY4I
-
8 years ago
1
Bootloader success
PCRE (PHP <7.3)
no description available
Submitted by
Abishek
-
8 years ago
1
Organisation Name Validator
PCRE (PHP <7.3)
Validate an Organisation Name
Submitted by
anonymous
-
8 years ago
0
Phone number extract
Python
Used to get the phone number from a list of phone numbers
Submitted by
jmitz
-
8 years ago
0
Papierloses Büro
PCRE (PHP <7.3)
Dieser regex ist für das Programm DropIt gedacht, damit eingescannte und danach manuell benannte Dokumente automatisch einsortiert werden.
Submitted by
traxxus
-
8 years ago
1
Names with hyphens or single quotes
PCRE (PHP <7.3)
Names that accept maximum of 1 hyphen or 1 Quote, does not allow white spaces, allows an unlimited length of name.
Submitted by
chakra_tavy
-
8 years ago
1
Leilões liga
PCRE (PHP <7.3)
Get Cards name
Submitted by
Patrick Bard
-
8 years ago
1
android detect log tags
PCRE (PHP <7.3)
that are non static
Submitted by
l3king
-
8 years ago
2
END on new line
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
LUN UID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Regex 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Regex 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Elements from matrix
PCRE (PHP <7.3)
If you have "[[2,3],[4,5]]" representing a matrix, you can't just Split(',') because that'll give you "[[2" "3]" "[4" "5]]". Removing the first '[' and last ']' and using this regex will give you the elements "[2,3]" "[4,5]". Cheers
Submitted by
M.G.
-
8 years ago
1
Email validation
PCRE (PHP <7.3)
Usernames with dots, dashes and underscores. Hostnames limited to 64 chars, dash disallowed at first char of domain segment, only one consecutive dash or dot, one-char domains possible, multi-subdomains, long TLDs.
Submitted by
Forseti
-
8 years ago
1
string between two underscores
Python
this simple regexp will find a string between two undercores
Submitted by
slprag
-
8 years ago
1
SVG - Get rect and text with links
PCRE (PHP <7.3)
no description available
Submitted by
Clowreed
-
8 years ago
1
vggcb
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Phone numbers - Poland
PCRE (PHP <7.3)
Validates following phone number schemes: 1234567 123-45-67 12-34-578 711234567 0711234567...
Submitted by
Forseti
-
8 years ago
1
...
451
452
453
454
455
...
575
email Validation
1
Regular Expression
PCRE (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
The email validation for registration
Submitted by
Jian
-
8 years ago