add regex validation