mIRC snippets made by a friend of mine:
$twildtok()
http://scriptsdb.org/comments.php?id=98$regtok()
http://scriptsdb.org/comments.php?id=99$tregtok()
http://scriptsdb.org/comments.php?id=100The t* versions are used in an inverse manner where the paterns are the token string and you want to verify which patern matchs the given token.