Not sure what your context is, but in things like a bash script, the first (aka left-most) instance would be found, and once it's found it should ignore any later instances. -dc