Regular Expression to validate a Multi Text field in Catalog Item .

saaquib
Kilo Contributor

Has anyone been able to build a dynamic regex string in a Catalog Client Script to validate an entry in a service catalog field which is a multi line text Field.

 

A user can enter multiple comma separated values in this field but we need to validate or normalize the input in text box.

The above field can only accept the comma-separated values  as below.

svcjavaapp1@XYZ.COM , HTTP/sl73javasrvr01.visa.com@XYZ.COM.

I need to write validation i.e Regular expression which will allow only above type of values and suppose if someone enters svcjavaapp1@xyz.com it should make it to svcjavaapp1@XYZ.com once the user click outside or move to next field.

 Spaces should also be removed once requestor is done with his update and click outside the box or move to next field.

 

 

 

 

 

 

1 REPLY 1