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,020 community submitted regex patterns...
1
Email validation
PCRE (PHP <7.3)
because everything else is too strict
Submitted by
anonymous
-
10 years ago
-2
python bracketed text
Python
why doesn't this match text in brackets?
Submitted by
anonymous
-
10 years ago
1
Get Itunes ID
PCRE (PHP <7.3)
Get itunes id from url
Submitted by
sendypw
-
10 years ago
1
test
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
p.borecki
-
10 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
-
10 years ago
2
paren strip test
PCRE (PHP <7.3)
paren strip test
Submitted by
marie bacuno
-
10 years ago
1
SIP Address Validator
PCRE (PHP <7.3)
Validates SIP(Session Initiation Protocol) Addresses
Submitted by
Tarun Telang
-
10 years ago
0
HTML5 time entry regex
ECMAScript (JavaScript)
This regex can be used within a HTML5 input tag to ensure a time has been entered correctly such as 23:40 or 11:40 PM.
Submitted by
Scott Mebberson
-
10 years ago
1
Simple Date regex
ECMAScript (JavaScript)
With format dd/MM/yyyy
Submitted by
Magador
-
10 years ago
-3
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
TCP/UDP port number
PCRE (PHP <7.3)
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
10 years ago
0
Multiple matches in php but only one in javascript
ECMAScript (JavaScript)
I have used this regexp succesfully in php with flags gmU and have multiple matches. In js there is no U flag and this only returns last match. Is there anything I can do to make this work similarly in javascript?
Submitted by
yorogs
-
10 years ago
1
PCI Device
Python
no description available
Submitted by
anonymous
-
10 years ago
2
YouTube Embed Video & Playlist from URL
ECMAScript (JavaScript)
It gets the playlistID and the videoID to conform the embed URL from the video URL
Submitted by
@rubenlopezgea
-
10 years ago
1
NSE0(.*)\nNSE1\s+(.*)\nNSE2\s(.*)\nNSE3\s+(.*)kbps.*\nNSE4\s+(.*)\nNSE
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 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
-
10 years ago
-1
Split address line into street name and house number
PCRE (PHP <7.3)
This regular expression splits an address line like for example "1117 Franklin Blvd" into the street name and house number. It also supports addresses where street name and house number are the other way around (e.g. "Mustermannstr. 1"). Furthermore, this regular expression also supports address li...
Submitted by
Andre Wisplinghoff
-
10 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
-
10 years ago
1
...
43
44
45
46
47
...
901
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
.
+
)
@
(
.
+
)
\.
(
.
+
)
/
i
Open regex in editor
Description
because everything else is too strict
Submitted by
anonymous
-
10 years ago