Just a (hopefully) simple question.
Doing some messing around with Python and I just want to know how I can strip both the left side and right side of my strings of all whitespace except for tabs, or rather \t
.
I understand I can probably loop recursively with replace, but that's messy. Theres got to be a simpler way.
Basically just removing \n, ,\r,
...etc except for \t
.
Cheers.