<font size=2 face="sans-serif">> </font><font size=3>You're actually
going to want to use it with a ? in there:</font>
<br>
<br><font size=3>s/Hello.*,?/$ES/g;</font>
<br>
<br><font size=3>> Otherwise it's greedy and will replace everything
from Hello through the last comma </font>
<br>
<br><font size=2 face="sans-serif">Maybe a typo but:</font>
<br><font size=3>s/Hello.*?,/$ES/g;</font>
<br>
<br><font size=2 face="sans-serif">the "?" modifies the '*',
in the original it was saying "zero or one commas" - and you'd
need to replace the "Hello " text too.  the "/g"
would mean there's possibly more than one "Hello ...." chunk
in your letter?</font>
<br>
<br><font size=2 face="sans-serif">Another good idiom is to use the negative
char class for the marker </font>
<br><font size=2 face="sans-serif">s/Hello\s+[^,]+,/Hello $ES,/;</font>
<br>
<br><font size=2 face="sans-serif">That is - "one or more of anything
besides a comma" </font>
<br>
<br><font size=2 face="sans-serif">a<br>
----------------------<br>
Andy Bach<br>
Systems Mangler<br>
Internet: andy_bach@wiwb.uscourts.gov<br>
Voice: (608) 261-5738; <br>
Cell: (608) 658-1890</font>
<br>
<br><font size=3>"All that I care to know is that a man is a human
being</font>
<br><font size=3>--that is enough for me; he can't be any worse."</font>
<br><font size=3>Mark Twain (1835-1910) </font>