PDA

View Full Version : Only replace first n occurrence(s)


Erik
10-18-2005, 10:13 PM
Just purchased my copy and It's working great, I have one question though.

I couldn't find how to do this so I guess it's not a feature, but it would be nice if you could setup an item and only have the first occurance replaced, or perhaps the first n'th occurrences.

For example, if you wanted to make a Glossary, sometimes a word is used many times in a message so the message gets littered with the matching term, then you could define that only the first occurrence should be matched.

If you use it for sponsored ads it also get kinda intrusive having many words linked.

It would probably also use less resources.

The Geek
10-19-2005, 08:56 AM
There is an option to limit the amount of replacements in settings.

You cant do the nth replacement, however you can set it to say 1 or 2 which will only replace the 1st or second match only.

HTH's!