Wednesday, 7 August 2013

dreamweaver regex replace css rule

dreamweaver regex replace css rule

I have some css file, but in some day, i make a mistake, replace all the
space to empty, so it cause some rules are broken.
Wrong way right way
#body.content{...} #body .content{...}
#content#title{...} #content #title{...}
I tried [a-z]# => $1 #, it become #conten$1 #title{...}. How to do the
correct regex in dreamweaver? Thanks.

No comments:

Post a Comment