Added regex to advanced validation