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,000 community submitted regex patterns...
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
CEDICT Chinese dictionary line parts
PCRE (PHP <7.3)
Matches the four parts (simplified, traditional, pinyin, definition) of a CEDICT dictionary line
Submitted by
Hugh Grigg
-
10 years ago
1
Validate Url with or without http(s)://
PCRE (PHP <7.3)
This will validate whether you starts with http(s)://
Submitted by
Sanal Menon Kalipurayath
-
10 years ago
1
Output string is not displayed for given regex
PCRE (PHP <7.3)
I have this regex and input string. But nothing is displayed in output area. Could you please help to know why it is not displaying output? Thanks.
Submitted by
anonymous
-
10 years ago
1
HTML Anchor <a> Tag Grabber(overcome newlines)
ECMAScript (JavaScript)
no description available
Submitted by
Namikaze Ray a.k.a Pendecosen
-
10 years ago
1
Pre tags and inner contents grabber for JavaScript
ECMAScript (JavaScript)
No /s, took quite a time to think.
Submitted by
Namikaze Ray a.k.a. Pendechosen
-
10 years ago
1
Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
test tags Libellex
ECMAScript (JavaScript)
no description available
Submitted by
AROC
-
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
REGEX
Python
no description available
Submitted by
anonymous
-
10 years ago
1
afsd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 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
-
10 years ago
1
Get extension of an file
ECMAScript (JavaScript)
Get extension of an file.
Submitted by
Taffarel Xavier
-
10 years ago
1
Get the extension of file
ECMAScript (JavaScript)
Get the extension of file
Submitted by
Taffarel Xavier
-
10 years ago
1
Inverse Match
Python
inverse match letters, numbers, and underscores
Submitted by
anonymous
-
10 years ago
1
regex for phone numbers in Israel
PCRE (PHP <7.3)
regex for phone numbers in Israel
Submitted by
anonymous
-
10 years ago
1
KZ phone regexp
PCRE (PHP <7.3)
Regexp for kz website mask "+7(999) 999-99-99"
Submitted by
Iden
-
10 years ago
1
match only an #endif where no wordcharacter is following(multiline)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
match the first sentence, ignoring enumerations
Python
no description available
Submitted by
Henrik Heimbuerger
-
10 years ago
1
mceItem_breakpoint
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
598
599
600
601
602
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
<
(
.
*
?
)
>
(
.
*
?
)
<
(?=
\/
)
\/
.
*
?
>
/
isu
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago