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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 12,640 community submitted regex patterns...
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
p.borecki
-
9 years ago
1
hashtag and user tag regex
PCRE (PHP <7.3)
This regular expression can be used to find tags and hashtags in a string. It assumes that a username can contain both underscores and points (.) and that hashtags can only contain letters
Submitted by
Luca Simonetti
-
9 years ago
1
SIP Address Validator
PCRE (PHP <7.3)
Validates SIP(Session Initiation Protocol) Addresses
Submitted by
Tarun Telang
-
9 years ago
1
Simple Date regex
ECMAScript (JavaScript)
With format dd/MM/yyyy
Submitted by
Magador
-
9 years ago
1
NSE0(.*)\nNSE1\s+(.*)\nNSE2\s(.*)\nNSE3\s+(.*)kbps.*\nNSE4\s+(.*)\nNSE
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Validate URLs
PCRE (PHP <7.3)
Someone on IRC posted the following site: https://mathiasbynens.be/demo/url-regex which challgenged me to write a decent regex to match valid URLs in that list. This regex works in both pcre and javascript (you'll have to replace the pcre-specific syntax to make it work in JS). Don't actually use t...
Submitted by
Firas Dib
-
9 years ago
1
ISO-8601 date parse
ECMAScript (JavaScript)
Works with 2015-04-03T13:56:24.0+00:00 (official) format, and 2015-04-03T13:56:24+0000 (PHP) format, too
Submitted by
Norbi
-
9 years ago
1
someone knows he answer?
PCRE (PHP <7.3)
are both strings matching, I wnat only the second one to match
Submitted by
anonymous
-
9 years ago
1
Get extension of an file
ECMAScript (JavaScript)
Get extension of an file.
Submitted by
Taffarel Xavier
-
9 years ago
1
regex for phone numbers in Israel
PCRE (PHP <7.3)
regex for phone numbers in Israel
Submitted by
anonymous
-
9 years ago
1
KZ phone regexp
PCRE (PHP <7.3)
Regexp for kz website mask "+7(999) 999-99-99"
Submitted by
Iden
-
9 years ago
1
Object regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Sentence Matcher
ECMAScript (JavaScript)
Matches sentences, but skips over abreviations
Submitted by
Jonathan Mee
-
9 years ago
1
JS Regex Lazy quantifier
ECMAScript (JavaScript)
JS Regex Lazy quantifier
Submitted by
anonymous
-
9 years ago
1
LOL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
获取discuz引用回复用户名
PCRE (PHP <7.3)
no description available
Submitted by
Paul Wang
-
9 years ago
1
Email
ECMAScript (JavaScript)
Supports new top level domains, such as .plumbers .blackfriday
Submitted by
Glutnix
-
9 years ago
1
very basic email regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
How to get various values within a pipe delimited string
PCRE (PHP <7.3)
We have a pipe delimited text file and each new record is separated by a CRLF. Each record has a fixed number of pipes, but not every column or field is valued, so there may be 2 or more pipes together. Is there a way to write a regex to parse out the third or fifth value? Many thanks in advance.
Submitted by
Jon
-
9 years ago
1
...
578
579
580
581
582
...
632
IklusivVolumen
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
0
-
9
]
+
,
[
0
-
9
]
+
|
[
0
-
9
]
+
)
(
GB
|
MB
)
\(
(
[
0
-
9
]
+
,
[
0
-
9
]
+
|
[
0
-
9
]
+
)
[
a
-
zA
-
Z
]
+
[
\/
|`
]
s
?
\)
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago