Well i have a little problem but really strange.
So basically i analyzed URL represented by a string. The only thing i want to check is if this URL contains ‘chrome-extension://’
So basically i’ve tried to escape these caracter like that but it still didn’t work…
if(!URL.match(/(chrome\-extension\:\/\/)/i))
Alternatively: