User Guide

268 Chapter 14 Using Regular Expressions in Functions
REFind ("[Uu]\.?[Ss]\.?[Aa}\.?",
Report )
The position in the variable Report of the
first occurrence of the abbreviation USA.
The letters can be in either case and the
abbreviation can have a period after any
letter.
REFindNoCase("a+c","ABCAACCDD")
4
REReplace("There is is coffee in
the the kitchen","([A-Za-z]+)
[ ]+\1","*","ALL")
There * coffee in * kitchen
REReplace(report, "<[^>]*>", "",
"All")
Removes all HTML tags from a string value
of the report variable.
Expression Returns