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

Re: [Clip] Re: replacing or removing something between two somethings

Expand Messages
  • Mike Breiding
    Thanks,Eb. I will try to tease my brain with this. -Mike ========= ... Check it out: www.EpicRoadTrips.us ~~~ ~~~ [Non-text portions of this message have been
    Message 1 of 12 , Aug 22 4:57 AM
    • 0 Attachment
      Thanks,Eb.
      I will try to tease my brain with this.
      -Mike
      =========
      At 01:41 PM 8/21/2007 , you wrote:
      >Mike,
      >
      >I know you said you were done with this, but really, what is this
      >forum for, except to learn something about clips?
      >
      >My previously submitted three-liner was an approximation.
      >What was wrong with it was the TAB delimiter between
      >the expression to find, and the command switches.
      >
      >Below is the same thing, with proper punctuation.
      >It works on either NoteTab Lite (4.95)
      >OR on NoteTab 5.3. See below.
      >
      >This 3-line clip is ready to run:
      >----->8-----
      >H="ReduceImageTagToJustSrcAttrib"
      >^!Find <img [^\>]+> RIS
      >^!Set %pic%=^$GetHtmlTagAttr("^$GetSelection$";"src")$
      >^!Insert <img src="^%pic%">
      >----->8-----
      >
      >Run on the following two tags (note the src attribute is located
      >differently in the second image tag):
      >
      ><img src="openAccount.gif" alt="Open an Account" title="New Account">
      ><img alt="New Account" src="openAccount.gif" title="Open an Account">
      >
      >It produces:
      >
      ><img src="openAccount.gif">
      ><img src="openAccount.gif">
      >
      >Even if you don't need this anymore, it ought to give you food for
      >thought. If you don't try to learn why some clip doesn't work, you
      >will never be able to utilize the full power of NoteTab.
      >
      >Cheers
      >
      >Eb



      ----------
      Check it out:
      www.EpicRoadTrips.us

      ~~~



      ~~~





      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.