IsRegexMatch
4 min
determines whether a regular expression matches an input text value see https //developer mozilla org/en us/docs/web/javascript/guide/regular expressions https //developer mozilla org/en us/docs/web/javascript/guide/regular expressions for information about regular expressions syntax isregexmatch(text, exp) enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes business rules calculation rules (after save, with or without also recalculate on load) yes business rules calculation rules (before save or always, without also recalculate on load) yes business rules calculation rules (before save or always, with recalculate on load) yes business rules editing rules yes business rules initialization rules yes business rules read only rules yes business rules required rules yes business rules validation rules yes client expressions yes object permissions no services yes ldap yes mobile yes quick actions (except ui quick actions) yes ui quick actions yes reports yes search/dashboard without field references yes search/dashboard with field references no parameters parameter description text the text in which to look for a match exp the regular expression to match against the text return value returns a boolean value of true if the regular expression matches the text example isregexmatch("this is a test, isn't it?", /test/i) in the above example, the function is looking for the word "test" and the word is case insensitive (because the "i" flag means it is case insensitive) therefore, the above returns true because the word "test" is found in the text
