in reply to Re: need to parse firts part of SQL-query (regex question)in thread need to parse firts part of SQL-query (regex question)
That looks like a much better suggestion than mine!
...roboticus