Match at a Word's Beginning or End - Match at a Word's Beginning or End - AnyDoc - CAPTUREit - AnyDoc/CAPTUREit/Foundation-23.1/CAPTUREit/VBScript/Regular-Expressions/Match-at-a-Word-s-Beginning-or-End - Foundation 23.1 - Foundation 23.1

CAPTUREit

Platform
AnyDoc
Product
CAPTUREit
Release
Foundation 23.1
License
ft:lastPublication
2023-11-17T13:17:46.194000
ft:locale
en-US

The most important metacharacters are the caret (^) and the dollar sign ($).

  • Caret (^) - The regular expression must match at the beginning of a word.

  • Dollar sign ($) - The regular expression must match at the end of the word.

For example:

Example

Description

/THE/

Matches any word that contains the substring "THE", such as "THEATRE" and "SOOTHE".

/^DAT/

Matches any word that begins with the substring "DAT", such as "DATE", "DATUM", and "DATO".

/ING$/

Matches any word that ends with the substring "ING", such as "WALKING" and "KING".