=~ or MATCHEStakes a text and checks if it matches a regular expression (python style).
=~
MATCHES
'Hello World' =~ '\d+'
will return false, since \d only matches numbers and Hello World contains letters.
\d
Hello World
Last updated 1 year ago
Was this helpful?