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

418RE: [NTS] Changing Case with Regex

Expand Messages
  • John Shotsky
    Jun 8, 2008
      Here's the loop I'm using - can this be made faster?

      I only locate those which include a lower case character in the find. I use the toolbar function, but I don't know if
      there's a time penalty for this type of loop. There are about 45K lines in my typical document.And about 1000 expected
      'finds'.

      :Loop
      ^!Find "^Title: .+[a-z]" ARSTW
      ^!IfError GoTo End
      ^!SELECT LINE
      ^!Toolbar "upper case"
      ^!Goto Loop
      :End

      John

      From: ntb-scripts@yahoogroups.com [mailto:ntb-scripts@yahoogroups.com] On Behalf Of Sheri
      Sent: Sunday, June 08, 2008 5:30 PM
      To: ntb-scripts@yahoogroups.com
      Subject: Re: [NTS] Changing Case with Regex

      Don - HtmlFixIt.com wrote:
      > I was thinking if you just use the function that assigns regex to
      > variables, then you could do it that way, but I can never find that
      > function in help. It is a fairly new function ... I think we were just
      > discussing it last week and I know I used it in the last week in a clip,
      > but cannot find it once again ...
      >
      > Don
      >
      >
      ^$GetReSubStrings$ ? Its used after a ^!Find command.



      [Non-text portions of this message have been removed]
    • Show all 10 messages in this topic