Skip to content

Interface: ContentMatchOptions

Options for matching content using regex patterns based on Java Pattern syntax


interface ContentMatchOptions

Table of contents




pattern: string

Java style regex pattern. Do not include the typical / at start or end of regex in some languages. Given an example your code is: 12345 the pattern to extract match looks like code is: (d{6}). This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: ['code is: 123456', '123456'] See for more information of available patterns.

memberof ContentMatchOptions