[Clip] Re: Is this possible? to distinguish words in file
- Hi Don,
<< so what you really want to do is find north or south, go to the
<< semi-colon and add a return instead, deleting the thence's
Well, not exactly. There will be some extra "north or south"'s
i.e. " THENCE ON THE
NORTH LINE THEREOF RUN THE FOLLOWING 2 COURSES: 1) NORTH 86 DEGREES
MINUTES 17 SECONDS WEST 1210.10 FEET TO THE POINT OF BEGINNING;
that's why I think I need to find "DEGREES" or "DEGREE" to latch onto
and work from there...
<< is "thence" always in your descriptions ...
not in every call
<<and are they always complete, ie full degree/minute/seconds calls?
Steve Adams (NTP 4.9)
- Hi Steve, Don,
>that's why I think I need to find "DEGREES" or "DEGREE" to latch ontoenclosed clip does what you want. Uses
>and work from there...
each of those for its begin of line criteria. And, uses
as its end of line criteria. Then near end of clip does allows to keep only those items containing
No regex in this clip. Regex definitely could be applicable here. But this clip is fast on your sample.
currently (but fixable) it does leave one ran together
^!Replace "SOUTH" >> "^pSOUTH" IWSA
^!Replace "NORTH" >> "^pNORTH" IWSA
^!Replace "^%SPACE%^%SPACE%" >> "^%SPACE%" IWSA
^!Find "FEET" IS
^!Replace "^$GetSelection$" >> "" IS
^!Find "DEGREES" ISH
^!If ^$GetRow$ => ^%LineCount% FINISH
^!Replace "^$GetSelection$" >> "^p" IS
^!Replace "^p^p" >> "^p" IWSA
; ----<end clip<<
Importantly, oops, I forgot to include the very first two lines of the clip.
From my earlier posted clip, the former first line must now become (as follows) the third line with 2 NEW additional lines above it at the very top. Thus:
^!Replace "^p" >> "" IWSA
(Those 2 NEW additional lines make your sample so that it is without line breaks which is what is needed for the remainder of the clip to work properly)
So please be sure to add those 2 NEW lines at the very top of the clip.