mIRC Homepage
Posted By: nok Help $regex - 08/01/09 10:23 PM
You can read a file.txt?
Code:
$regex($read(texto.txt,%i),/\b(españa|español|española|madrid)\b/giS)

//file.txt
//españa
//español
//española
//madrid
//
Posted By: Wims Re: Help $regex - 09/01/09 12:00 AM
I'm not sure about what you want since you're not really clear, but see the /help /filter, with -g, you can perfom a regex match on each line of a text file and then do what you want with them.

For example :

filter -g texto.txt output.txt /\b(españa|español|española|madrid)\b/giS

fill output.txt with all lines that match the regular expression.
© mIRC Discussion Forums