Upvote:1
It sounds a lot like hidden-city ticketing, which carries some serious risks. Here are some instructions if you're determined to do this. On matrix.itasoftware.com you still have to put the destination city C, but it can be a long list of possible airport codes. You can put in airport code B as "routing code" under "Advanced controls".