Hi, I need a filtering function (or class) with the following features. I prefer it to be a single function. If you need to use multiple functions you can use a class too. The main functionality of the function is to filter the content and auto link the found keywords from the predefined keyword list. 1. It should get 2 parameters. $content = (A standard text article, blog post, ...) $links = array('keyword' => 'url', 'keyword 2' => 'url 2'), ..... 2. Keywords in the keywords list can be a single word or phrase: e.g. Here are 2 different keywords. “iPhoneâ€, “Mobile Phone†3. Only one link should be added. The post/article can contain multiple keywords from the predefined list but only one of the keyword should be linked. 4. Keywords in the $links array are ordered by importance, script should go through them 1 by 1 and not randomly. Once the keyword/phrase is found it should stop checking the remaining keywords. 5. Keywords should be matched without case-sensitive 6. Keywords/phrases should be matched fully, and not part of a word. Example: If the keyword is “car†the word “carry†should NOT be linked. Also, if the keyword is in part of url e.g: http://example.com/this-is-keyword/ It should NOT be linked too. 7. If the keyword/phrase is already linked (inside <a ..>keyword phrase</a> tags) it should NOT be linked Please, PM me your offer.