Regex: Delete all lines containing characters other than [a-z], [A-Z], and [-]
Iskandar The Pupsi last edited by
Thanks again in advance:
I have a list and I want to delete every line, which contains a character which is not
[a-z], [A-Z], and [-].
Thank you very much!
guy038 last edited by guy038
Hello, @iskandar-the-pupsi and All,
Use the following regex S/R :
^symbol ,beginning the character class, is the negation character
-symbol must be located at the end of the character class as it’s a special** char inside class character
\Rsyntax matches any kind of line-break