I have this regex to find and replace :
;
?
!
/(\u00AB|\u2014)(?:\s+)?|(?:\s+)?([\?!:;\u00BB])/g
but I'd like to ignore the characters within a style tag i.e <a style='font-weight:bold'>
Regex to ignore (?!.style=\".*\")
How do I accomplish that?