The problem here is that you're matching all the font and width settings in the CSS. You should generalize your code to match only the key components that likely won't change in the future. Look for things like /snippet/ in the URL or <pre(.*)> excluding all the specifics. It'll work much better in the long run and you won't need to keep changing it.