Last active
February 2, 2024 10:13
-
-
Save StoneLabs/3dd70d5a4ceca62d3feb0a7aa6f11e00 to your computer and use it in GitHub Desktop.
Fast Non-Ascii-Line regex
This file contains hidden or 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
^[^\s]*[^\x00-\x7F][^\s]*$\n # Also remove lines with whitespaces | |
^[^\n\r]*[^\x00-\x7F][^\n\r]*$\n # Lines may include whitespaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment