From: DRVTiny <mu...@li...> - 2006-01-28 07:11:10
|
On Thu, 26 Jan 2006 20:11:54 -0800 ijb...@li... wrote: > perl -i.bak -pe 's/<input type=text.*>/<input type=text$1><input > type=clear>/ig' sample.html I dont know what exactly you need, but maybe it is right for you: perl -i.bak -pe 's/<input\s+type=text([^>]*)>/<input type=text $1><input type=clear>/ig' sample.html }----->{ With best regards, Andrew Konovaloph <AKA DRVTiny> See also my home page: http://privoxy.asplinux.net |