i try

query = query.lower()
print re.split(r'\W+',theString)

the reslut is :
['', 'word1', 'word2', 'word3', '']

how can i fix the statment to get 

['word1', 'word2', 'word3']

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to