use RegExp in detchallonce