<html>
<body>
<br>
Just bear in mind that an underscore is considered a word caracture by a
regex but a dot or dash os not.<br>
many mail systems allow dots in the username&nbsp;&nbsp;
spike.hodge@inode.co.za<br><br>
<br>
At 2003/06/04 08:16 PM, Nico Coetzee wrote:<br>
<blockquote type=cite class=cite cite>&nbsp;&nbsp; # clear the username
of non ASCII characters<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>$user
=~ s/^\W+//;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>$user
=~ s/\W+$//;</blockquote>
<x-sigsep><p></x-sigsep>
<tt><br>
<font face="Courier New, Courier" size=2>Spike Hodge<br><br>
UNIX Programmer<br>
</font></tt><font face="Courier New, Courier" size=2>M-Web
Technology<br>
</font><tt>021 596 8496<br>
082 901 5265<br><br>
</tt>Click here and make M-Web your homepage<br>
<a href="http://homepage.mweb.co.za/" eudora="autourl">http://homepage.mweb.co.za</a></body>
</html>