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

RE: [Clip] Re: Build an Index

Expand Messages
  • Andy Young
    Hi, Alan I m still working on some more specific search patterns for the clip. Thank you for adding the multiple file option to the indexing clip. At present
    Message 1 of 22 , Feb 26, 2001
    • 0 Attachment
      Hi, Alan

      I'm still working on some more specific search patterns for the
      clip. Thank you for adding the multiple file option to the indexing
      clip. At present I'm trying to get some end of month web site(s)
      work done. I don't often meet deadlines early. I'm not throught with
      this clip, just forced to oil some squeaky doors. :)

      Andy

      Here is part of a clip that can be altered which searches for HTML
      code, skips certain codes, and deletes all others.

      ;clip starts here

      H="Search and Delete HTML code"
      ^!ClearVariables
      ^!Jump DOC_START
      :look
      ^!Jump SELECT_END
      ^!FIND "<([a-z])*" CIRS
      ^!IfError finish
      ^!Select HTMLTAG
      ^!Find
      "(<html)|(</html)|(<head)|(</head)|(<title)|(</title)|(<body)|(</bod
      y)|(<img)|(<a )|(/a)|(<meta)|(<script)|(<link)" CIRSH
      ^!IfError SKIP
      ^!Goto look
      ^!Select HTMLTAG
      ^!Keyboard DELETE
      ^!Goto look
      :finish
      ^!ClearVariables

      ;clip ends here
    Your message has been successfully submitted and would be delivered to recipients shortly.