regex match css class name from single string containing multiple classes
- by effectica
I have a long string that contains multiple css classes. With regex I would like to match every class name as I then need to replace these class names like so:
<span>CLASSNAME</span>
I have tried for hours to come up with a solution and I think I am close however for certain class names I am not able to exclude closing curly brackets…