this solves the problem for me and gives the required result
In reply to Re: regexp help by upaksh in thread regexp help by upaksh