Now can send list of selected elements to query. Regex to validate.