Might I ask what language you were using? I, of course, recognize the a-z and A-Z sequences, but have no idea of what unicode characters are embraced by either the lowercase or uppercase range, À-Þ.
Yet another demonstration of how a strategically formulated, but very short, regular expression with capture groups can be used.
Brian - Windows 10 Pro, 64-Bit, Version 1903, Build 18362
The color of truth is grey.
~ André Gide