... replace this with nothing using Regular Expressions: (?s).*\</credit92;>92;K.*?92;z...
23380
Adrian
pluralistsends
Nov 14, 2012 5:11 am
... I did a jump to the line end and then BOL which meant avoiding the return - allowed me to automatically create a filename from the title....
23381
Adrian Worsfold
pluralistsends
Nov 14, 2012 5:11 am
Hello all Thanks everyone. I ended up doing this to extract both titles and lyrics, and it works efficiently. ^!Continue Extracts Titles and Lyrics. Proceed...
23382
flo.gehrke
Nov 14, 2012 10:47 am
... I'm still playing with the sample code we saw in the first message #23352 of this topic (haven't seen any other sample so far). Now that we've got a kind...
23383
Don
dpasseng
Nov 14, 2012 12:12 pm
Awesome Flo -- of course maybe a tad harder to follow ... what is ?: doing here wold be my first question. This I assume inserts a space \x20 AFTER the find...
23384
flo.gehrke
Nov 14, 2012 1:54 pm
... Non-capturing group -- content isn't stored in memory. ... Yes, it drops the match and inserts a space at the position that follows the match. ... Yes,...
23385
Adrian Worsfold
pluralistsends
Nov 14, 2012 2:08 pm
Hello all I did think it would be something of a hare to chase or a jigsaw. I receive you latest efforts, plug them in and replace other in a copied clip, but...
23386
Don
dpasseng
Nov 14, 2012 2:41 pm
So when I then use $1, etc. do I skip non-capturing groups in my count? Wow do I learn from you! Started actually using \K this week with success :-)...
23387
John Shotsky
shotsky1
Nov 14, 2012 2:56 pm
Anything enclosed in parens can be recalled with $. \K simple means to not capture FOR REPLACEMENT. So if the paren phrase precedes \K you can recall it. I do...
23388
Don
dpasseng
Nov 14, 2012 3:42 pm
Very helpful John. I probably mixed thoughts there without a clue to the reader ... So I now understand that with \K, if I have a captured group before that,...
23389
John Shotsky
shotsky1
Nov 14, 2012 4:32 pm
Yes, that is correct. You can also use it when you need to repeat a word, such as this: 1 teaspoon fresh parsley plus 1 teaspoon dried The problem is that the...
23390
flo.gehrke
Nov 15, 2012 12:23 pm
... Adrian, I tried to find a complete XML file and downloaded: https://dl.dropbox.com/u/28120070/pluralist/spiritual/stdenio.xml Next I opened that file in NT...
23391
Adrian Worsfold
pluralistsends
Nov 15, 2012 3:22 pm
Hello flo.gehrke You've picked there an exceptional one in St Denio. It's not one of the usual made files by me. Maybe that is a good test! St Denio has no...
23392
Adrian Worsfold
pluralistsends
Nov 15, 2012 3:30 pm
Hello flo.gehrke BUT, interestingly, the simpler lyrics only coding, still does work on St Denio... In so far as it thinks the repeat line is a second verse. ...
23393
Don
dpasseng
Nov 15, 2012 3:31 pm
... I have written a moderately powerful clip that extracts pdf content from a directory of pdfs. So if you already have what you want in pdf format, getting...
23394
John Shotsky
shotsky1
Nov 15, 2012 3:57 pm
I would be interested in the pdf extraction clip. You can email it directly, if you wish, along with the expectations of the format of the text in the pdf...
23395
Adrian Worsfold
pluralistsends
Nov 15, 2012 4:44 pm
Hello John Shotsky Many .PDF readers do come with text extraction as a feature (as I'd assume you must know) but obviously a clip adds to the productivity of...
23396
Don
dpasseng
Nov 15, 2012 4:58 pm
a-pdf text extractor is a program I have it open it gives several options for extraction method ... smart order usually works but not always Drag and drop of...
23397
John Shotsky
shotsky1
Nov 15, 2012 5:06 pm
Don's solution is a third party pdf tool. I already use Calibre to convert pdf into epub ebooks, and then process those (html files) with NoteTab. I just...
23398
flo.gehrke
Nov 15, 2012 5:49 pm
... Adrian, I'm testing what you called "the working version" in message #23385, and I understand this version is identical with "the newer (published) more...
23399
Adrian Worsfold
pluralistsends
Nov 15, 2012 9:18 pm
Hello flo.gehrke For the avoidance of doubt, this is the clip that does work with the seegertomorrow.xml XML... I've just done it successfully and instantly. ...
23400
flo.gehrke
Nov 16, 2012 4:24 am
... Hi Adrian, Aaah, I can see your clip working now ;-) I played around a bit more with that clip and tried to combine some ideas we've discussed so far. So...
23401
Adrian Worsfold
pluralistsends
Nov 16, 2012 4:53 am
Hello flo.gehrke The clip is brilliant except that it loses the essential main credit, the HL number and tune name, and is saving the file by the subtitle, the...
23402
Adrian Worsfold
pluralistsends
Nov 16, 2012 5:10 am
Hello flo.gehrke I cannot see from your mysterious (to me) coding how to have the HL or SF main title on top and as the save - but I am amazed that in XML...
23403
flo.gehrke
Nov 16, 2012 1:42 pm
... Hi Adrian, Your clip outputs the 'credit39; block as... Tomorrow is a Highway Tomorrow is a Highway Pete Seeger from Lee Hays Harmony Music Ltd. So I thought...
23404
Adrian Worsfold
pluralistsends
Nov 16, 2012 1:53 pm
Hello flo Brilliant. Later on today I will alter the clip and instructions on my webpage. How you have managed to account for different line lengths in verses...
23405
joy8388608
Nov 16, 2012 6:36 pm
From what I can see, commands such as ^$Replace$ work on multiple topics of an outline but others like ^$GetDocListAll$ only work on the text in the current...
23406
flo.gehrke
Nov 17, 2012 12:46 am
... Hi Joy, I wouldn't loop through all the topics. Open any sample OTL and try this... ^!SetScreenUpdate Off ^!Toolbar New Document ...
23407
Ian NTnerd
indiamcq
Nov 17, 2012 9:06 am
I Like it! Nice solution. Also learned about ^$GetDocListAll$. How had I missed that great function? Ian ... [Non-text portions of this message have been...
23408
Adrian Worsfold
pluralistsends
Nov 18, 2012 3:38 pm
Hello clippers Two questions. First. Why is it so difficult to produce a first part filename without its path and without its extension? I want to change a...