class=(.*?)replace (.*)insert $$1I have this to strip out all classes for a cleaner table. How do i keep these ones only?class=vertical greenArrowIcon pid-(any number)-arrowSmallclass=vertical redArrowIcon pid-(any number)-arrowSmallclass=vertical greyArrowIcon pid-any number-arrowSmall
Regex to strip out classes but keep certain ones
regular expression