@vore() Function |
![]() ![]() ![]() |
@vore(), Value of Regular Expression, function matches the given string with a regular expression and returns the select string by replacing the matched group symbols in it. Syntax: @vore(expression,regex,select,default)
expression The input string expression regex The regular expression that contains groups in it. select The select string that contains group selection symbols. e.g. '${1}_${2}' default The string to return when there is no match. Example:
@vore('abc.123.xyz', '....([^.]*).*', '_${1}_', '?') @// Returns '_123_'
|