Loading ...
Sorry, an error occurred while loading the content.
 

Re: [PBML] replacing title tag in html

Expand Messages
  • Anthony E.
    assuming $text is the document: $text = s# (.*)? # Confidential Document #sig; ... __________________________________________________
    Message 1 of 2 , Jul 30, 2002
      assuming $text is the document:

      $text = s#<title>(.*)?</title>#<title>Confidential
      Document</title>#sig;



      --- roopa_pd <roopa_pd@...> wrote:
      > Hi all,
      >
      > Could anyone tell me how to write a script to
      > replace the title tag
      > in a set of html files
      > I need to replace anything between the title tags to
      >
      > say 'Confidential Document'
      > Eg:<title>Let's Play</title>
      >
      > should be changed to
      > <title>Confidential Document</title>
      >
      > Thanx in advance
      >
      >


      __________________________________________________
      Do You Yahoo!?
      Yahoo! Health - Feel better, live better
      http://health.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.