perl -pi -e 's/text/newtext/g' /path/to/file
/J\
In reply to Re: simple text substitution. by gellyfish in thread simple text substitution. by Anonymous Monk