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
Regex_questions_detect
PCRE (PHP <7.3)
if a file has questions and answers, it can detect questions
Submitted by
anonymous
-
4 years ago
0
Parse Received header on email
PCRE2 (PHP >=7.3)
Parse Received header on email
Submitted by
anonymous
-
4 years ago
0
Filter 4, 10 digits and email
Golang
Test
Submitted by
gert rohde
-
4 years ago
0
vue component import suffix replace
ECMAScript (JavaScript)
为了使用vite,替换必须有后缀
Submitted by
anonymous
-
4 years ago
0
Version numbers
Python
Python regex to get version numbers, including if the version number specifies a range such as 1.0-2.0 or >1.0
Submitted by
jhylands
-
4 years ago
1
Flexible Name Matching
Python
Flexible Name Matching This algorithm will match name-formatted strings to a minimum accuracy of 3 correct characters per value. Firstname Lastname ...
Submitted by
Gabriel Gagnon
-
4 years ago
0
get the matching text starting from [** to /.md
PCRE2 (PHP >=7.3)
get the matching text starting from [** to /.md
Submitted by
anonymous
-
4 years ago
0
email validation
ECMAScript (JavaScript)
check valid email
Submitted by
anonymous
-
4 years ago
0
test
ECMAScript (JavaScript)
f
Submitted by
anonymous
-
4 years ago
0
my regex
Java 8
test
Submitted by
anonymous
-
4 years ago
0
Bibliography Author|Year Formatted References
Python
Finds author/year formatted refs
Submitted by
anonymous
-
4 years ago
0
reg
PCRE2 (PHP >=7.3)
reg
Submitted by
inj
-
4 years ago
1
shortcode wordpress
PCRE2 (PHP >=7.3)
Wordpress shortcode regular expression
Submitted by
selik
-
4 years ago
0
Regex to capture AlphaNumeric String of 7 or 11 length(Must contain at least one Alphabet and Must contain at least one Numeric)
Java 8
Regex to capture AlphaNumeric String Length should be 7 or 11 Must contain at least one Alphabet Must contain at least one Numeric
Submitted by
Suman Maharjan
-
4 years ago
0
Capture Groups: Any number in between slashes followed by anything
PCRE2 (PHP >=7.3)
Two groups. One of digits in between slashes (e.g. '/5/') followed by any text
Submitted by
Leonardo Marcelino Vieira
-
4 years ago
1
Swiss MWST
PCRE (PHP <7.3)
Swiss VAT Numbers
Submitted by
igrokit
-
4 years ago
0
Hora formato am/pm hh:mm am/pm
PCRE (PHP <7.3)
Valida el formato de hora hh:mm am/pm
Submitted by
Felipe silva
-
4 years ago
0
Number Parsing w/ Scientific Support
ECMAScript (JavaScript)
Capture a number out of a string. Supports positive/negative, decimal, and Scientific Notation
Submitted by
Brombomb
-
4 years ago
0
Json Starts With Keys
PCRE2 (PHP >=7.3)
Regex for checking if JSON starts with desired keys Useful for validating/filtering database entries when used in combination with SQL Like Example: Postgre: select * from table_name where column_json ~ '^\{[\s]\"(tab1|tab3|tab5)".'
Submitted by
MUA
-
4 years ago
0
Get Client
PCRE2 (PHP >=7.3)
Parse Client type
Submitted by
ben
-
4 years ago
1
...
219
220
221
222
223
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
[
1
-
9
]
|
1
[
0
-
2
]
)
:
[
0
-
5
]
[
0
-
9
]
\s
(?:
[
aApP
]
(
\.
?
)
[
mM
]
\1
)?
$
/
Open regex in editor
Description
Valida el formato de hora hh:mm am/pm
Submitted by
Felipe silva
-
4 years ago