Regular Expressions family

Text category Home 

Functions that use Regular Expressions for processing text

ComponentWhat the name means
RegSMatch Return the first substring if any) matched by the regular expression
RegMatchWhole Whether the whole string matches the RegEx
RegNMatches Returns the number of matches
RegReplace Do a search and replace
RegSMatches array functionReturn all substrings that match the Regular Expression
RegSplit array functionSplit the input string into a number of substrings

Regular Expression Engine
The calculation engine used in the library is by Boost.org (version 1.32). You can find out more about the syntax supported here:


Limitations
Here is our (currently rather short) list of what you can't do:
  • Case-Insensitivity. The code (?i) does not seem to work, but this is not a problem: instead of (?i)[a-z], you can go [a-zA-Z]. Or, if you are matching a string, either go \bmystringMYSTRING\b or use Excels Lower() or Upper() functions in the string being searched.
  • Note that we currently have a maximum string length (a BF/Excel limitation) of 255 characters.

Full Syntax Documentation
Boost RegEx Syntax

Where to find out how Regular Expressions Work in general
There are lots of other tutorials if you search the internet for 'Regular Expressions Tutorial'