Created
May 31, 2013 15:21
-
-
Save zlalanne/5685711 to your computer and use it in GitHub Desktop.
Regex for adding spaces after '.' in long string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text = re.sub(r'\.([a-zA-z])', r'. \1', text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment