My regex validates words (also containing numbers), but words that have accents are not validating correctly.
/^[a-zA-Z0-9_]*$/i.test(word)
For example:
car => true
plantas => true
avião => false (but this should be also true)
What should I change in my regex to also work with accents?