Thanks, there was a little change with that, my list in bs_sel_list looks like this example
(foo)123
(bar + 1ht) there
foobar(foo) + there
With your suggestion it only finds
foobar(foo) + there the last one in the array
Any further suggestions?
Thanks for your help by the way
--------------- Added [DATE]1307408504[/DATE] at [TIME]1307408504[/TIME] ---------------
Actually i think your suggestion does work!, i think i had my for each check the wrong way round...a couple more tests and i'll confirm it
--------------- Added [DATE]1307410678[/DATE] at [TIME]1307410678[/TIME] ---------------
Yep it works!, thanks for the suggestion too