Add custom regex pattern validation