Regular Expression Function

The $Regexp function uses specified regular expression as a pattern for data generation. The only mandatory parameter is a regular expression, an empty string is acceptable.

Supported Options

  • The function supports standard UNIX-style regular expressions except items mentioned in 'Limitations' section.
  • \d means digit
  • \w means letter digit or '_'
  • \s means space symbols
  • Repeaters: {n} means exact n times, {n,m} means between n and m times


  1. The function ignores '$' and '^' signs for begin and end.
  2. The function does not support negative ranges like [^0-9].
  3. Only \1 to \9 blocks can be used.