View Single Post
Old 12-23-2011, 09:53 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,091
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Margin can take many forms.
margin, margin-top, margin-bottom...

(not tested)
Code:
margin([\-.+])\:\s*\d+
what this is intended to find is all variants of margin followed by a colon followed by digits
I stop there and leave the units alone 0em is valid , so KISS

you might need to do tricks for decimal points (\.* )

Last edited by Jellby; 12-23-2011 at 10:44 AM. Reason: fixed markup
theducks is offline   Reply With Quote