Closed Nantris closed 6 years ago
I'd like to remove every attribute that isn't src or href but I'm having a hard time figuring out regex that I can pass to this option to achieve that. Is this currently possible?
src
href
Thanks again for the great package and for your help in the past.
Try /^((?!src|href).)*$/.
/^((?!src|href).)*$/
I don't quite understand it, but the explanation is here.
Thanks very much, I'll give this a shot!
I'd like to remove every attribute that isn't
src
orhref
but I'm having a hard time figuring out regex that I can pass to this option to achieve that. Is this currently possible?Thanks again for the great package and for your help in the past.