References
NB: this is done on https://github.com); forking means creating your own copy of some one’s repository at that specific moment in time↩︎
Matches are highlighted: at, hat, that, atlas, aft, Athens.↩︎
Matches are highlighted: that, at, chat, cat, fat, phat.↩︎
Matches are highlighted: 501-1234, 234 1252, 652.2648, 713-342-7452, PE6-5000, 653-6464x256.↩︎
ar?tmatches “at” and “art” but not “arrrt”;a[fr]?tmatches “at”, “art”, and “aft”;ar*tmatches “at”, “art”, and “arrrrt”;ar+tmatches “art” and “arrrt” but not “at”;a.*tmatches anything with an ‘a’ eventually followed by a ‘t’.↩︎Solution: Simply connect all toponyms from the list with a pipe symbol “|”↩︎
Solution 1:
\b([\w ]+) \(Lower Austria\)— for Lower Austria;\b([\w ]+) \(Salzburg\)— for Salzburg; Solution 2 (cooler):\b([\w ]+)(?=( \(Lower Austria\)))— for Lower Austria;\b([\w ]+)(?=( \(Salzburg\)))— for Salzburg.↩︎