Updated regex to catch accented characters.