using regex to remove $ sign

Kun neurogasm at gmail.com
Tue Apr 11 03:18:36 EDT 2006


i have an html/cgi input that takes in values to a mysql database, 
however, if i stick in $20 instead of 20, it crashes the program because 
of the extra $ sign.  I was wondering if anyone has a quick regular 
expression in python to remove the $-sign if it is present in the input.



More information about the Python-list mailing list