Originally Posted by
discoseal
How do you restrict certain codeshares from showing up in a search?
Ex.
ORD->HEL
I want a flight not marketed by AA on any leg. In addition, I'd like at least one leg on AY. How would I code this?
If I understood what you're asking for, then I think you want:
~AA* AY ~AA*
which means "zero or more flights marketed by anyone other than AA, followed by one flight marketed by AY, followed by zero or more flights marketed by anyone other than AA". Basically, it says that if you have any flights before or after the AY flight, they can't be marketed by AA.