I’m trying to extract all the text until the first figure that appears.
Let’s say I have this kind of string "Paris 01 Louvre". I would
like to have only "Paris" or if I’ve "Neuilly sur Seine 03 bla blab"
I want to extract "Neuilly sur Seine".
I’m struggling with regex in javascript but I can’t find the right formula.
This answer also ensures trailing whitespace isn’t captured.