Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove tab space from string in python

import re

mystr = "I want to Remove all white 	 spaces, new lines 
 and tabs 	"
print re.sub(r"W", "", mystr)

Output : IwanttoRemoveallwhitespacesnewlinesandtabs
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #tab #space #string #python
ADD COMMENT
Topic
Name
4+8 =