Matches (Condition) — Skript
Addon: Skript · Category: Condition · Since: 2.5.2
Syntax
%strings% (match[es]|do[es](n't| not) match) %strings%Description
Checks whether the defined strings match the input regexes (Regular expressions).
Examples
on chat:
if message partially matches "\d":
send "Message contains a digit!"
if message doesn't match "[A-Za-z]+":
send "Message doesn't only contain letters!"