$ 0 0 [ autoit ] popup$text = '[Fri Jan 25 00:53:52 2013] [error] [client 91.230.211.48] File does not exist: /data/websites/ipsc/ipsc-temp/wp-content' $array = StringRegExp($text, '\[(.*?)\]', 3) For $i = 0 To UBound($array) - 1 MsgBox(4096, "Output", $array[$i]) Next How to display text after last ] ?