PHP preg_replace has an optional $limit parameter that allows you to replace a match a specified maximum number of times.
It would be great if this was exposed on a per filter or per set basis, as generally in an article linking to another using a term I only really want to link to it the first time a match is found.
Comments
Comment #1
avpadernoThe feature will not be implemented.