I have this list for example
items = ['www1bmobạnk.com', 'наш-переславль.рф', 'вольттек.рф', '別邸福の花浜松町店.com', 'благовест.рус', 'թարմլուր.հայ', '피시방.com', 'ått.com', '沃華科技.com', 'впамяти.рф', 'андрейбабкин.рф', '꽃셰프가.com', 'фортуна36.рф', 'わかば.com', 'тесты-на-коронавирус.рф', '第一個夏天.com', 'bëstchange.net', 'normaldomain.com']
I'm using re.match to filter them out
for item in items:
if re.match('[a-z0-9]', item):
print("It's English! " + item)
else:
print("It's not! " + item)
The issue is bëstchange.net and www1bmobạnk.com didn't get filtered. I added [^ë] and it worked for bëstchange.net, but [^ạ] didn't work for www1bmobạnk.com. I also try Unicode [\u0061-\u007A], but it's pretty much the same thing.
Appreciate any suggestions!