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
Integer or decimal number
Python
no description available
Submitted by
Rick de L
-
9 years ago
-1
Extract Java Exception Message Field
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-1
Extract the city from zip code and city input
ECMAScript (JavaScript)
no description available
Submitted by
Nils Butenschön
-
9 years ago
-1
Some kinds of emails regex.
ECMAScript (JavaScript)
Its a regex expression that matches with severals allowed kinds of emails.Enjoy it.
Submitted by
D<0S>
-
9 years ago
-1
شش
Python
no description available
Submitted by
anonymous
-
9 years ago
-1
Australian local and international mobile validation
ECMAScript (JavaScript)
no description available
Submitted by
Damien Capocchi
-
9 years ago
-1
index
PCRE (PHP <7.3)
include index.aspx
Submitted by
anonymous
-
9 years ago
-1
Hostname validator
PCRE (PHP <7.3)
Validates the format of IPv4/IPv6 hostnames as well as domain names.
Submitted by
anonymous
-
9 years ago
-1
uah
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-1
Replace comma separated decimals (comma instead of point)
ECMAScript (JavaScript)
Matches, line by line, a comma separated list of decimal numbers with comma as decimal character (Spanish way) Produces a list of comma separated pairs (space separated innermost) of decimal numbers with point as decimal character (English way)
Submitted by
Bruno A. Castro
-
9 years ago
-1
GetDeviceIdFromAOR
Python
no description available
Submitted by
anonymous
-
9 years ago
-1
emoticon
Python
no description available
Submitted by
Victor Huang
-
9 years ago
-1
JETAIR NL ARRIVAL DATE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-1
Find comments or commentblocks in Code V1.01
PCRE (PHP <7.3)
Find Comments starting with # or //. Also finds Commentblocks starting with /* and ending with */.
Submitted by
Candyman1332
-
9 years ago
-1
XML matching nodes
PCRE (PHP <7.3)
This regex matches opening and closing tags in XML (including attributes) and is used to "hide" the value of the node.
Submitted by
Marc Fellman
-
9 years ago
-1
HTML Code
PCRE (PHP <7.3)
HTML CODE given by (hex number   OR number   OR name )
Submitted by
novy
-
9 years ago
-1
DD/MM/YYYY
ECMAScript (JavaScript)
no description available
Submitted by
nehakadam
-
9 years ago
-1
Simple json key-value parser
PCRE (PHP <7.3)
[{"name":"Піксель ТВ","url":"http://st.it-tv.org:4575/?224.1.16.33","type":81,"tsOn":false}]
Submitted by
ReMMeR
-
9 years ago
-1
Names
PCRE (PHP <7.3)
Just checks for two capitalized words separated by a string
Submitted by
anonymous
-
9 years ago
-1
ISO 8601 datetime for Forecast.io API
PCRE (PHP <7.3)
Should match ISO 8601 datetime for Forecast.io API: [YYYY]-[MM]-[DD]T[HH]:[MM]:[SS] with an optional time zone formatted as Z for GMT time or {+,-}HH (with or without separating colon) for an offset
Submitted by
Clifford Paulick
-
9 years ago
1
...
11
12
13
14
15
...
901
Community Library Entry
-1
Regular Expression
PCRE (PHP <7.3)
/
(
(?<raute>
#
(?<raute_content>
[^
\n
]
*
)
)
|
(?<doubleslashes>
\/\/
(?<doubleslashes_content>
[^
\n
]
*
)
)
|
(?<block>
\/\*
(?<block_content>
[^
*
]
+
|
\*
(?!
\/
)
)*
+
\*\/
)
)
/
gm
Open regex in editor
Description
Find Comments starting with # or //. Also finds Commentblocks starting with /* and ending with */.
Submitted by
Candyman1332
-
9 years ago