Hello, According to the Apache Glossary page, it’s all PCRE based. So you should be able to use the “non-greedy” match. So instead of .* which will match all instances, use .*?. If you anchor it at the end of the string, something like (text you are matching against).*?$, then you can be certain of getting the last one. —jason
|