colorsose.blogg.se

Notepad++regex remove whitespace non letters
Notepad++regex remove whitespace non letters





notepad++regex remove whitespace non letters notepad++regex remove whitespace non letters

If capture group 1 was false it forces the expression to find the end of line, since this is the portion behind the | (else statement). The first bit states that if the outcome of capture group 1 was true then do nothing else (that’s the portion before the | which is nothing). The (?(1)|$) is a special conditional subexpression. If it didn’t find a a start of line then it will grab the numbers, spaces, braces and dashes and expects to find an end of line. So it starts by looking for a start of line, then grabbing numbers and possible spaces, braces and dashes. This latest version ties it to either the start of the line, or the end. I realised that if the song title contained any numbers in the title it could possibly remove those as well. Said in Help with Trimming text-Remove before and after came up with a neater version.







Notepad++regex remove whitespace non letters