>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 ?
Actually, I did not work on your pattern, just assumed that since you were looking for an alternative then it should be because it was not working for the that specific URL. I really did not tried your code.
>2.i tried to scan/endscan in a cursor but that give error.(item(0)..)
> is regExp works exclusively with arrays ?
No, just strings (whatever they come from). What was the value of the field you were testing the pattern against? My code assumes there is always a match, but that can be taken care for.
----------------------------------
António Tavares Lopes