Hi there,
I have been having this very strange problem using regular expressions - basically, i have been using it to replace paths in standard HTML files to change relative paths to absolute paths. This is now working great for hpyerlinks, and works fine for images, with one exception: everytime the image tag is updated, if there were spaces before or after the <img ...> tag, these turn into question marks, and show up on the HTML page.
Basically, this page reads the whole HTML output stream into a variable, and then uses regular expressions to make some modifications - including the image and hyper paths (a lot like you would use to remove certain areas for 'print friendly' pages). If anyone has any idea at all what might help me around this, that would be most appreciated... I have tried reading in any space characters either side as part of the regular expression pattern, but no success.
Many thanks for any help,
Regards,
Steve