中文
Node Documentation

Regex Match

DataTarget independenttext.regex-match

Whether any part of the text matches the regular expression (search semantics: b matches abc). For a full match wrap the pattern in ^ and $. An invalid pattern fails the run.

Example use

Use ^[0-9]+$ to check whether an entire string consists of digits.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

Data inputs 2

TexttextString

The text this node reads, converts, searches or types.

Default availableDefault: ""
PatternpatternString

A regular expression; use ^ and $ to require a full-string match.

Default availableDefault: ""

Data outputs 1

ResultresultBoolean

The result of this data operation, with its type determined by the matching inputs.

Version and node identity

Version 1.0.0

sha256:1f67f03039beb9dbd9237c622ec5ebcd44eead5867331cf0b9b1e71f6d575692