... Still, within your data blocks the number of various headers is finite, so I'd propose in a nutshell to utilize (only initially) their complete set to make...
... Yes I had not looked closely enough. With ((?:\w{1,}\x20){1,3} you are asking for at least one word but up to three and with .* you say "take as much as...
... What I'm trying to convey could be probably better illustrated like this: The beginning of your pattern "^(\d{1,}\.).*" grabs the entire line [1. Now all...
... ^!Goto ^?{(H=3)Yadda yadda==_apple|orange|banana} ... ^!Prompt Apple routine here ^!Goto End ... ^!Prompt Orange routine here ^!Goto End ... ^!Prompt...
I want to build a "fork" in a clip I use. I want to say something like, Which of these best fits your situation: apple - set value 1 orange - set value 2 ...
... If you insist on asking a greedy dot to give back what's already swallowed while requiring now non-trivial patterns, an approach that's cumbersome and most...
... John, diodeom, Axel -- thanks to all of you! @John: Thanks, but it's not about replacing text in a document but about ^!Find and ^$GetReSubstrings$. ...
... Your middle dot is greedy. Look for the space beginning the third word too: ^!Find "^(\d{1,}\.).{0,}(92;x20(?:\w{1,}\x20){3})(?=92;()" RS An extra benefit is a...
... Follow your {0,} quantifier with a question mark: ^!Find "^(\d+\.).*?((?:92;w+\x20){3})(?=\()" RS Otherwise, being greedy, when it reluctantly spits out...
The "Find a specific word" topic reminded me of a similar problem I couldn't resolve so far. The subject string, for example, is... 9. General introductions to...
Thanks again. I ran across something in my research and tried it in this code. It seems to work but maybe I'll run into side effects somewhere down the line?...
Hello Bruce, Welcome to the club of confusion, frustration and (sometimes) elation of clips. Notetab's Help file can be incomplete and confusing but hang in...
Flo, My BAD!!! I didn't worry about all the extra "||"s as they "would not affect the sort" and would be deleted afterwards. Well, obviously the lack of an...
I see what is happening. I used a clip to pull the first line after [ onto that line, followed by ||, and THEN used the replace on the rest of the CR's. I had...
... Thanks John! I can't confirm this, though your remarks correspond exactly with the clip I made following Art's advice. The result is still the mess I...
... In ^$GetFileText()$ you should specify between the parentheses YOUR full path/filename, wherever it actually resides; something like "C:\Documents and...
It was me making the mistake, not ntb. I've got the clip in question in two libraries, one of which was not up to date. It's not good programming but it's...
Well, okay, but where's the code for the autostarter to be able to do that? I can believe that the wrong version of Ntb might run - but copying code ?!...
You didn't misunderstand, your solution does work, but it is actually more complex than the one I settled on. In mine, I just replaced all CRLF with ||, and...
... Art (and John), I'm trying to learn from that advice by I can't figure out how this could work. Could you give me a helping hand please? Regarding John's...
... That's where to look at. My best guess and hypothesis is that for some reason the autostarter pointed to the old version and your current version noticed...