Hello, i have two small regexps i would like to implement in a script.. It checks $2 for valid chars, and if not returtn..
on *:TEXT:!input *:#mychan: {
[color:red]regexps[/color]
write mytext.txt $2
}
The regexps i want to use is
{[regexp -all {\(} $2]!=[regexp -all {\)} $2]} and
{[regexp {[^a-zA-Z0-9\(\)_.\-]} $2]} .
How do i use them?