Hi!
How can I use regex in automation rule from configuration?
There is core_v2_utility.IsMatch() in Telligent, but I need to use a regex pattern, not a string.
new RegExp(custom_regex_input).test(string) already return false
Thx.
Hi!
How can I use regex in automation rule from configuration?
There is core_v2_utility.IsMatch() in Telligent, but I need to use a regex pattern, not a string.
new RegExp(custom_regex_input).test(string) already return false
Thx.
You simply use the overload and provide the regex as the string pattern, like you would in the RegEx class
https://community.telligent.com/community/11/w/api-documentation/65834/core_5f00_v2_5f00_utility-script-api#IsMatch
You simply use the overload and provide the regex as the string pattern, like you would in the RegEx class
https://community.telligent.com/community/11/w/api-documentation/65834/core_5f00_v2_5f00_utility-script-api#IsMatch