diff --git a/src/inlineStylesheets.js b/src/inlineStylesheets.js
index 7ec6b96..a8a0bfe 100644
--- a/src/inlineStylesheets.js
+++ b/src/inlineStylesheets.js
@@ -4,7 +4,7 @@ const fs = require('fs').promises;
const path = require('path');
let inlineHtmlStyles = async htmlPath => {
- const linkTagRegex = /|/;
+ const linkTagRegex = /]* )?rel="stylesheet"(?:[^>]* )?href="([\w.\-\/]+)"[^>]*>|]* )?href="([\w.\-\/]+)"(?:[^>]* )?rel="stylesheet"[^>]*>/;
let html = await fs.readFile(htmlPath, 'utf8');
let matches = html.match(new RegExp(linkTagRegex, 'g'));
if (!matches)