Hi team,I need help to write a script in ServiceNow which will generate random value which will satisfy the give regex of any type.Regex can be alpha numeric or or any format.Example of the regex: [A-Za-z0-9]@[A-Za-z0-9].[A-Za-z]{2,3}Please help
Hi @Harneet Sital Thanks for your reply. Let me explain you my case : We have two onchange catalog client scripts having different orders. Example onChange client script 1 with order 100 onChange client script 2 with order 200both th...
var RandomStringGenerator = Class.create(); RandomStringGenerator.prototype = { initialize: function() { }, // Function to generate a random string based on a regex pattern generateRandomString: function(regexPattern) { var genera...