I need to search a string of text for where any of three 2 letter codes appear more than once.
Example if codes were "AB", "CD" & "EF", these could appear in any order in one string.
I would want it to pick up this: "CD - blah blah blah. EF - blah blah. AB - blah"
this: "EF - blah blah. CD - blah"
but not this: "EF - blah"
Any ideas, sorry it's not really that clear.
Cheers,
Example if codes were "AB", "CD" & "EF", these could appear in any order in one string.
I would want it to pick up this: "CD - blah blah blah. EF - blah blah. AB - blah"
this: "EF - blah blah. CD - blah"
but not this: "EF - blah"
Any ideas, sorry it's not really that clear.
Cheers,