in reply to Pattern matching of the type?

thanks for your help I already done it via this /\/pin-\d{5}\Z/ regards