Quote:
Originally Posted by BeckyEbook
In Sigil, something like this works:
Find:
Code:
:(\s*)0(?:\.0+)?(?:em|px|rem|%|vh|vw|vmin|vmax|cm|mm|in|pt|pc)?(?=;|\s|$)
Replace:
I can't do any better, maybe I'm tired of the heat.
|
....although I would probably get rid of the : at the beginning in case there are any shorthand...eg margin: 0px 0em 0vw 0.0rem;
I obviously haven't tested this... (I'm taking a 'coke' break at work

) maybe it already does shorthand???