Double or single both get caught and enter the loop but I cannot get the variable resolved to the actual value so it is stuck in the loop at the first line that contains a variable because the variable is not resolved and therefore it will always find a $ in the line.

Sure I can replace the $ with # or something and do a check and replace for all words start with that character but I’d like to keep it a bit more flexible and not hardcoded. This way any extra variables added to the HTML file in the future do not require major work on the code.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.