The \w metacharacter will match any "alphanumeric" character as defined by Unicode, which is locale independent.
For example:
str = 'Mit luftpudefartøj er fyldt med ål';
regexp(str,'\w*','match')
ans =
'Mit' 'luftpudefartøj' 'er' 'fyldt' 'med' 'ål'
In this example the characters ø and å are matched, even though they are not part of the standard English character set. The results of this code would be the same when run on a computer with any locale.
Best Answer