Bot Libre 7 adds support for using Regular Expressions in patterns, templates, and scripts.
Regular Expressions, or Regex defines a pattern syntax for parsing text. Unlike AIML and Bot Libre patterns Regex patterns are character based, not word base, so can match specific types of words and word sequences such as numbers, dates, times, currency, and others.
For example, the following regex matches a number,
/\d+