STRING UTILS

Check that the text matches the regular expression

%string% (does|is)[n't| not] regex match(es|ed) %string%
if "1361" is regex matches "1..1":
  broadcast "Matched"

Find groups by regular expression

regex group[s] %integer% of %string% matched to %string%
set {_group::*} to regex group 1 of "123123123123" matched to "123"

Regular expression substitution

regex replace %string% with %string% in %string%
set {_text} to regex replace "3.*" with "" in "123123123123"

Split text by regular expression

regex split %string% at %string%
set {_text::*} to regex split "123123123123" at ".3"

Mirror the text

(reverse[d]|backward(s|ed)) [(string|text)] %string%
set {_text} to reversed "321"

Split the string every N characters

%string% split [(by|at)] every %integer% (symbol|char[acter])[s]
split %string% [(by|at)] every %integer% (symbol|char[acter])[s]
set {_text::*} to "123123123123" split eveny 3 symbols