Returns true if the string is a regular expression
const R = Format.IsRegex('^\\d{3}-\\d{2}-\\d{4}$')
{ format: 'regex' }