Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
<link rel="canonical" href="(.*?)">
/
gm
Input 1
const regex = /"sku": "(.*?)"/gm; // Alternative syntax using RegExp constructor // const regex = new RegExp('"sku": "(.*?)"', 'gm') const str = ``<!DOCTYPE html> <!-- saved from url=(0044)https://www.daz3d.com/karmen-9-hd-pro-bundle --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Karmen 9 HD Pro Bundle | Daz 3D</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="<p>Introducing the Karmen 9 HD Pro Bundle. This all-inclusive bundle features a vibrant makeup look, expressions, a curly and braided bun hairstyle, apocalyptic-inspired outfits, Elemental Mage and Shadow Realm attire, and even monstrous poses to immerse "> <meta name="keywords" content="Karmen 9 HD Pro Bundle"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="robots" content="INDEX,FOLLOW,noai, noimageai"> <link rel="icon" href="ht
Substitution
const regex = /"sku": "(.*?)"/gm; // Alternative syntax using RegExp constructor // const regex = new RegExp('"sku": "(.*?)"', 'gm') const str = ``<!DOCTYPE html> <!-- saved from url=(0044)https://www.daz3d.com/karmen-9-hd-pro-bundle --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Karmen 9 HD Pro Bundle | Daz 3D</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="<p>Introducing the Karmen 9 HD Pro Bundle. This all-inclusive bundle features a vibrant makeup look, expressions, a curly and braided bun hairstyle, apocalyptic-inspired outfits, Elemental Mage and Shadow Realm attire, and even monstrous poses to immerse "> <meta name="keywords" content="Karmen 9 HD Pro Bundle"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="robots" content="INDEX,FOLLOW,noai, noimageai"> <link rel="icon" href="ht