modify regex of word