On Fri, 18 Feb 2000, Joseph C. Kopec wrote: > SubResult = re.subn('<!-- *** INSERT CONTENT HERE *** -->', Content, > TemplateInput) This treats the '<!-- *** INSERT CONTENT HERE *** -->' as a regular expression. Use string.replace instead. -- Moshe Zadka <mzadka at geocities.com>. INTERNET: Learn what you know. Share what you don't.