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
Relevance
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 1,020 community submitted regex patterns...
1
Domain
ECMAScript (JavaScript)
Will return domain portion of a url: Example: http://www.jkrowlings.com/books Returns: www.jkrowlings.com
Submitted by
Scott Burrows
-
10 years ago
1
HTTP => HTTPS
PCRE (PHP <7.3)
Force all URLs to HTTPS.
Submitted by
WhatIsHeDoing
-
10 years ago
1
Capture YouTube Video ID
PCRE (PHP <7.3)
get video id from any version of youtube url
Submitted by
Kevin Chappell
-
10 years ago
1
Resolve-AutomationModel-Params
PCRE (PHP <7.3)
Used to extract parameter data from an actiontasks properties which would be located in the automation model. Requires the string to be URL UnEscaped.
Submitted by
jesse.puente
-
10 years ago
1
Wikis or Wikipedia
PCRE (PHP <7.3)
Get Wikis or Wikipedia urls. I use it for Stylish extension in Firefox
Submitted by
mlopezcoria
-
10 years ago
1
Validate steam profile id perma-link
PCRE (PHP <7.3)
Validates the full url is a steamID64 profile perma-link
Submitted by
DrWhat
-
10 years ago
1
JSFiddle embeded link
ECMAScript (JavaScript)
A regex to match any permutation of JS Fiddles embed URL.
Submitted by
Valtrius
-
10 years ago
1
Library, New Books
ECMAScript (JavaScript)
Used on "http://adi.sunyconnect.suny.edu:4610/adi_new_book.html" to get the URL, Call Number, Title, and Author of all the new books listed.
Submitted by
Daniel Foote
-
10 years ago
1
yFrame Origin Filter
ECMAScript (JavaScript)
Pattern used to filter URL origin (protocol:host) for yFrame.
Submitted by
grese
-
9 years ago
1
OPC UA Server
ECMAScript (JavaScript)
Gets IP-Address/host name from URL
Submitted by
anonymous
-
9 years ago
1
Giphy ID Regex
PCRE (PHP <7.3)
Get the ID from the multiple Giphy URLs
Submitted by
anonymous
-
9 years ago
1
Extract Query Parameter
ECMAScript (JavaScript)
Break URLs into three parts Url ? QueryString
Submitted by
Sachin Jain
-
9 years ago
1
Catastrophic Backtrack
PCRE (PHP <7.3)
This regexp matches urls, but causes catastrophic backtrack
Submitted by
anonymous
-
9 years ago
1
FHIR API
PCRE (PHP <7.3)
HA Proxy URL rewrite for the FHIR APIs
Submitted by
gpiskun
-
9 years ago
1
linkedin select username
PCRE (PHP <7.3)
Select just the username from urls
Submitted by
chocksy
-
9 years ago
1
Google Category Extraction
PCRE (PHP <7.3)
Extract first term in url path for google category extraction
Submitted by
SCFarmer
-
9 years ago
1
Extract image from string / plain text
PCRE (PHP <7.3)
If you have a string with a image URL
Submitted by
Cavla
-
9 years ago
1
Domain RegExp
PCRE (PHP <7.3)
Test the URL or domain
Submitted by
maxm krupkin
-
9 years ago
1
Dailymotion videos ids
PCRE (PHP <7.3)
find ids of video in dailymotion urls in text
Submitted by
anonymous
-
9 years ago
1
Unix ANSI escape codes
PCRE (PHP <7.3)
Unix ANSI escape codes Hi , in my Terminal project in want a method to find (Unix ANSI escape codes) and run its command. For More information : https://en.wikipedia.org/wiki/ANSI_escape_code...
Submitted by
Shahin Pendar , shahinpendar@gmail.com
-
8 years ago
1
...
19
20
21
22
23
...
51