-
-
Save awaemmanuel/09cdfdd73e7cc43edd86 to your computer and use it in GitHub Desktop.
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
The sample text is here: https://gist.github.com/0474c33e403ab243019c | |
Undo justification: replace all newline characters with two spaces | |
regex: "\n\b" | |
subst: "\ \ " | |
Replace all paragraph markers with actual paragraphs | |
regex: "-P-" | |
subst: "\n\n" | |
Substitute two or more spaces with a single space | |
regex: "\ \ +" | |
subst: "\ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment