Fork me on GitHub

regex

Returns true if the given regular expression matches the data string

The regex transform checks if the data string matches the given regex.

For example, given a regex to check for valid usernames: regex('^[a-z0-9_-]{3,16}$'), we get:

[
  "Hello World!",
  "valid_username",
  "1"
]
[false,true,false]

Transform Details

One-To-OneStatelessPeekInput SchemaOutput Schema
TrueTrueFalse{"type": "boolean"}

Arguments

#DescriptionOptionalConstantHijackedDefault
1The regular expression to useFalseTrueFalse

This Site

Contribute

ConnectorDB is a very new open-source project. If you are a designer/developer or ML enthusiast, head on over to the connectordb github, where you can choose which part of ConnectorDB you want to contribute towards! Pull requests or bug reports are welcome!