Python Remove All Whitespace

September 30, 2018
import re

re.sub(r'\s+', '', text)
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.