Create dynamic regexp.

Filter before .off