Code:
line-height:[^;}\r\n]*;?
Quote:
Originally Posted by cybmole
thanks - can you explain the construction/how it works please, it's a bit hard to puzzle out.
|
Searches for
line-height:
[^;}\r\n] is then any char except ; } or any linebreak char
* gives multiple times - should probably really have been + instead
the final ;? adds a semi-colon if exists to the match
Hope that helps.