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,040 community submitted regex patterns...
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
-
9 years ago
2
bye
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
LUN UID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 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
-
9 years ago
2
Parse Cabrillo Amateur Radio Log Record
PCRE (PHP <7.3)
no description available
Submitted by
NY4I
-
9 years ago
1
ofsream open file C++
Python
match of.open("test.txt");
Submitted by
Денис суховерхов
-
9 years ago
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
Д енис Суховерхов
-
9 years ago
2
css class finder
PCRE (PHP <7.3)
این عبارت منظم یک کلاس سی اس اس را پیدا می کند
Submitted by
ehsan abbasi
-
9 years ago
2
comment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Regex to find if/while constructs
PCRE (PHP <7.3)
Find if/while in JS code written in PCRE
Submitted by
Deepak Subramanian
-
9 years ago
1
Extract variable data from multi-line text columns
PCRE (PHP <7.3)
Pulls data from the 3rd line of different columns of text.
Submitted by
Jan from StackOverflow, and John Kimball
-
9 years ago
2
Find url('./xxx)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Password Validation
Python
Checks for password containing at least 1 Upper case, 1 lower case, 1 digit and 1 special character, all together with a length of at least 8. (This pattern allows any order of the requried elements, other than what was been distributed here before)
Submitted by
Tom Spielvogel
-
9 years ago
2
Bitstream with not more than 4 repeating bits
PCRE (PHP <7.3)
0111100 will be matched whereas 0111110 will not. Change \1{4} to max repeating count. For max 9 repeating -> \1{9}
Submitted by
anonymous
-
9 years ago
2
ukrainian alphabet
PCRE (PHP <7.3)
no description available
Submitted by
benderlio
-
9 years ago
1
Dutch postcode validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Date or N/A
ECMAScript (JavaScript)
Accepts Date or not applicable string.
Submitted by
Toufique Ahmed
-
9 years ago
2
test
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Email Cleanup
PCRE (PHP <7.3)
Working on email link cleanup.
Submitted by
anonymous
-
9 years ago
1
Credit Card Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
59
60
61
62
63
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
(?:
(?
(?=
Fig
\.
|
\d
+
\.
\d
)
.
+
?
(?=
\s
)
|
[^
.!?
]
)+
(?=
\.
)
)+
)
/
gi
Open regex in editor
Description
Match sentences ignore e.g. Fig. z.b. etc
Submitted by
anonymous
-
11 years ago