[jQuery] generate folder name

[jQuery] generate folder name

<!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=093465311-07032007><FONT face=Arial
size=2>hello!</FONT></SPAN></DIV>
<DIV><SPAN class=093465311-07032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093465311-07032007><FONT face=Arial size=2>i am creating a form
where user enters the name of a new project. First field is "title", the second
one is "project folder name". </FONT></SPAN></DIV>
<DIV><SPAN class=093465311-07032007><FONT face=Arial size=2>I would like to
proposed a failsafe folder name from the project title.</FONT></SPAN></DIV>
<DIV><SPAN class=093465311-07032007><FONT face=Arial size=2>Can somebody provide
me with a good idea on how to generate a secure folder name out of any string
input, thus removing all non alphanumeric characters ?</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=093465311-07032007><FONT face=Arial size=2>Thank
you!!</FONT></SPAN></DIV>
<DIV><SPAN class=093465311-07032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=093465311-07032007><FONT face=Arial
size=2>Alexandre</FONT></SPAN></DIV></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/