[jQuery] regular expressions
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=765544023-07032007><FONT face=Arial
size=2>hello!</FONT></SPAN></DIV>
<DIV><SPAN class=765544023-07032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765544023-07032007><FONT face=Arial size=2>I'm experimenting
with regular expressions, and </FONT></SPAN><SPAN class=765544023-07032007><FONT
face=Arial size=2>i would like to replace in a string some special characters by
a "-" minus sign, and others by just removing it.</FONT></SPAN></DIV>
<DIV><SPAN class=765544023-07032007><FONT face=Arial size=2>Do i need ot make
two regex.replace(), or is it possible to have both in one
command?</FONT></SPAN></DIV>
<DIV><SPAN class=765544023-07032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765544023-07032007><FONT face=Arial size=2>thank you very much
for your time!</FONT></SPAN></DIV>
<DIV><SPAN class=765544023-07032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765544023-07032007><FONT face=Arial
size=2>Alexandre</FONT></SPAN></DIV>
<DIV> </DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Verdana"></SPAN></P></BODY></HTML>
<BR>
<P><FONT SIZE=2>--<BR>
Ce message Envoi est certifié sans virus connu.<BR>
Analyse effectuée par AVG.<BR>
Version: 7.5.447 / Base de données virus: 268.18.7/712 - Date: 6/03/2007 15:42<BR>
</FONT> </P>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/