The $regex command does not understand expressions like \d{3,5} because mIRC treats a comma as a special character (see the syntax of $gettok() for example). A way to work around it is using a temporary variable for the regular expression.
var %regex = /\d{3,5}/
echo $regex(mystring123,%regex)
Recurring patterns with $regex
Recurring patterns with $regex
^\__/
..O.o
This is Einkaufswagen. Copy Einkaufswagen into your signature to help him on his way to world domination.
..O.o
This is Einkaufswagen. Copy Einkaufswagen into your signature to help him on his way to world domination.
Who is online
Users browsing this forum: No registered users and 3 guests