Created
June 8, 2017 19:22
-
-
Save icetee/a3be1da83c380c69df9b8101d6c2ca28 to your computer and use it in GitHub Desktop.
Replace br tags
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
string.replace(/<br\s*?(\/?)>/gm, '\r\n'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment