/(?<![a-z])AP(?![a-z])/i [download]
/(?<!\S)AP(?!\S)/i [download]
In reply to Re: match the name by ikegami in thread match the name by Anonymous Monk