Please enable JavaScript to view this site.

 

int = StrFindRegex(sFull,sFind,sListResults,bIgnoreCase)

 

This macro function takes a string sFull and searches for occurrences of the string sFind using regular expressions.

 

The result of this function is the number of occurrences of sFind that are found using regex.

 

To obtain the strings corresponding to various matches obtained from the present function, see the function getRegexResultString and to obtain the positions corresponding to various matches obtained from the present function, see the function getRegexResultPosition.

 

See also: Pos, PosNth, StrIsContained, StrReplaceRegex.

 


Topic 188585, last updated on 16-Jun-2025