I am trying to use re.split in python. I want to remove all these characters like " , ; < > { } [ ] / \ ? ! .I am trying to do something like this-
re.split("[, \_!?,;:-]+", word)
How can I add characters like " ( ) or < > ' so that they can also be removed?
Edit
re.split('\W+',word)
This works fine but it is not removing underscore symbol. How can I also remove underscore?
 
     
     
     
    