Technical Support Forums

Technical Support Forums » Araneae

Hwo do I add a simple tag to multiple html files? (3 posts)


About this Topic

  • Started 2 years ago by jparrie
  • Latest reply from anonymous

Tags

  1. jparrie
    Member
    Posted 2 years ago

    Hi, this must be one of the easiest things to do, but I just can't seem to find how to do it.

    I simply want to add ***info.shtml*** to a few hundred html files, just before the closing </body> tag. The only way I can do it is to use find/replace, but then I have the </body> tag sitting directly behind the ***info.shtml***, which means I have to go through all the files and hit enter to put </body> onto a new line, where it should be.

    Surely I must have missed something here?

    Thanks
    John

  2. Mark
    Administrator
    Posted 2 years ago

    I wish I had a simple answer, but multi-line search and replace actually isn't available in the current version. This is a very popular request, but in the meantime all I can suggest is to use a bulk search-and-replace tool.

  3. Anonymous

    Posted 2 years ago

    Many thanks. I found this one, which is awesome: http://www.simonhuggins.com/arctan/replacer/index.html

    Hope its ok to post that here.

    John


Reply

(required)