Include line breaks in Dreamweaver regex for less code
I've been trying for hours to get the right regex in Dreamweaver, but I
just can't get it to work. I want to take less code like below, and remove
everything except the variable names-
Start:
font-size: @variable-for-font-size;
color: @variable-for-color;
font-style: @variable-for-font-style;
Desired Result
@variable-for-font-size
@variable-for-color
@variable-for-font-style
;(.*): works fine if I put the rules on the same line, but I can't get it
to include the line breaks- I've tried adding \n and \r but no luck.
Any ideas?
No comments:
Post a Comment