Fix regexp that purges illegal chars from nicknames