Skip to content

Instantly share code, notes, and snippets.

@oneeyedman
Created March 4, 2022 17:09
Show Gist options
  • Save oneeyedman/19e68ff1fc988f3704b2a64b50a735bc to your computer and use it in GitHub Desktop.
Save oneeyedman/19e68ff1fc988f3704b2a64b50a735bc to your computer and use it in GitHub Desktop.
// Busca etiquetas script con un atributo que contenga "http"
var reg = /<script[^>]+http/g;
// Busca etiquetas script con un atributo que contenga ".js?v="
var reg = /<script[^>]+\.js\?v=/g;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment