Thank you Antonio for reply .i have some questions:
1.Why have changed the pattern i gave.can your code work with this pattern ? tested and it gives errors ?
2.i tried to scan/endscan in a cursor but that give error.(item(0)..)
is regExp works exclusively with arrays ?