Add regexp to search elements