%ereg()

Aliases%ereg()
Parametersstring @pattern, string @text

    Returns a 1 if the text is matched by the regular expression defined by
pattern, otherwise returns 0. This function uses the POSIX extended
regular expression syntax which is beyond the scope of this document and
is left to the reader. The internet should yield many valuable resources
about this topic.

Example:

if( !%ereg( "^[[:space:]]*[[:digit:]]+[[:space:]]*$", @arguments ) )
{
echoto char @n You may only input a number!
return
}
endif