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
Community Patterns
Search among 5,980 community submitted regex patterns...
8
extract subdomain(if available) or domain from URL
Python
This regex should extract the subdomain, if any, or the domain, if no subdomain is used, from an arbitrary URL
Submitted by
trevi@twanda.com
-
8 years ago
1
Extract Variables from C# File
Python
no description available
Submitted by
Adam Short
-
8 years ago
2
URL with Port
ECMAScript (JavaScript)
no description available
Submitted by
rkl
-
8 years ago
0
phone number
Python
no description available
Submitted by
Dries Werckx
-
8 years ago
1
Replace Czech accents, Part 1
Python
The result of this put as input into part 2.
Submitted by
Premysl Karbula
-
8 years ago
1
nombres y apellidos
Python
expresión para python.
Submitted by
davila vargas
-
8 years ago
1
Match emoji shortcodes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Strip the Headers from a response where JSON is present
ECMAScript (JavaScript)
HTTP/1.0 404 Not Found Cache-Control: no-cache Content-Type: application/json {"validation_message":'...'} ...
Submitted by
John B.
-
8 years ago
0
Telefonnummer E.123
ECMAScript (JavaScript)
no description available
Submitted by
Frank Mattes
-
8 years ago
1
bb
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
-3
IPv4 address
Python
Matches any IPv4 address
Submitted by
anonymous
-
8 years ago
1
OPC UA Server
ECMAScript (JavaScript)
Gets IP-Address/host name from URL
Submitted by
anonymous
-
8 years ago
-1
Arabic AlphaNumeric
ECMAScript (JavaScript)
Arabic AlphaNumeric text
Submitted by
Ahmed
-
8 years ago
2
match those lines whose first n chars contains 1+ non numeric
Python
1100582367|SDFDSFDSFDSFDSFDF GBC213WREW|RWEFSDFSDF 1100582377|DSFDSFDSFDSF 2NDG.S.D BIKADSFDSFDSFNO.421 1100582387|SDFSDFSDFDSF
Submitted by
sid
-
8 years ago
1
passage parser
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Javascript GUID regex
ECMAScript (JavaScript)
Validate GUID using a regex expression
Submitted by
stom
-
8 years ago
1
HCPCS
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
ICD9
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
4
UK Postcode
ECMAScript (JavaScript)
no description available
Submitted by
msyed
-
8 years ago
5
Bible reference extractor
Python
For scraping http://skepticsannotatedbible.com/
Submitted by
antaytheist-owner
-
8 years ago
1
...
234
235
236
237
238
...
299
Grab filepaths from `source` in a bash script
1
Regular Expression
ECMAScript (JavaScript)
/
^\s
*
?
source
\s
+
(
.
*
)
/
gm
Open regex in editor
Description
Useful for making a build script that compiles all sources into one file.
Submitted by
William George
-
8 years ago