Код |
---|
#include <Array.au3> $avArrayGoin = _ArrayCreate('(\s+font\-+family\:[A-Za-z\s\,\%0-9\#\-]+\;)');\:[A-Za-z\s\,\%0-9\#\/\-]+\;)') _ArrayAdd ($avArrayGoin,'(\s+font\-+size\:[A-Za-z\s\,\%0-9\#]+\;)') ..... FileFindNext ...... $lineСМУСОРОМ=Stri ngRegExpR eplace($line, '(.*)'&$avArrayGoin[$iGoin]&'(.*)', '\1\3') For $iNext = 0 to (UBound($avArrayNext)-1) $lineБЕЗМУСОРА=Stri ngRegExpR eplace($line, '(.*)'&$avArrayNext[$iNext]&'(.*)', '\1{\3') Next ....... |