in reply to
match the name
You were rather unclear. Perhaps you want
/(?<![a-z])AP(?![a-z])/i
[download]
Or maybe
/(?<!\S)AP(?!\S)/i
[download]
Comment on
Re: match the name
Select
or
Download
Code
In Section
Seekers of Perl Wisdom