hi,
i have some difficulty in a function that supposed to take any word that is longer than a specific length & replace it with a new string.
i can find the string to replace & create the new word but becuase the text is in HTML format there is an option that the word to replace is inside an HTML tag (such as A), but i dont want to replace the word that is in the HTML tag only the word that is nnot in the tag.
i believe the way for doing this is with preg_replace or such, but not sure how to do it.
do you have any ideas?
Cheers,