... You don't go half measures, do you? From your image the data are exactly as per your precise description, so I might have gone by that. A solution along...
20749
diodeom
Jun 21, 2010 1:53 pm
... This should work: ^!Jump 1 ... ^!Find "^(.++)(?s).+?html(?=\R{2,}|\Z)" RS ^!IfError Done ^!Set %t%=^$GetReSubStrings$ ^!Replace "^" >>...
20750
John Shotsky
shotsky1
Jun 21, 2010 5:45 pm
There is almost always more than one way to do things. I happen to dislike loops when they are not needed, because they take more time than simple replaces. ...
20751
diodeom
Jun 21, 2010 6:55 pm
... "Skip_-1" cycles as many times as the maximum number of links within the largest group. I'd call it a loop. :)...
20752
John Shotsky
shotsky1
Jun 21, 2010 7:06 pm
I agree it is a loop strictly speaking, but that's not what I meant. Regards, John From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf...
20753
Net Playground
netplayground
Jun 23, 2010 12:23 am
Thank you .. everyone .. for the suggestions.  John ... your suggestion below worked like a charm. I was able to process about 3500 lines of information...
20754
Bill Mosca
wrmosca
Jun 23, 2010 6:10 pm
I've got a bunch of PasteClips i use to save typing the same thing. But one just will not work right. I have one named dt with this string: ...
20755
hsavage
hrs62930
Jun 23, 2010 8:02 pm
... Bill, I think the PasteClips library/function is working as it should. The 'dt' clip is pasting a literal string the same as all the other pastable clips...
20756
Bill Mosca
wrmosca
Jun 23, 2010 10:08 pm
... Ah, now that you say that it makes perfect sense. So, do you think it is possible to create a PasteClip that will do what I want? My goal is to be able to...
20757
diodeom
Jun 24, 2010 12:00 am
... One way of doing this could be to have your dt clip read as follows: ^!SetClipboard ^$GetDate(mm/dd/yyyy hh:nn)$ and change the content of...
20758
John Shotsky
shotsky1
Jun 24, 2010 1:23 am
Hi all, I'm wondering if there are functioning examples of wizards somewhere. I can't really seem to get what I want using the help files or the sample files I...
20759
ebbtidalflats
Jun 24, 2010 2:55 am
NoteTab does not have "buttons" for wizards (ecept for "cancel" and "OK"). To display a list of options, of which a single choice can be made, use the LIST...
20760
John Shotsky
shotsky1
Jun 24, 2010 3:14 am
Yes, I do have a drop list that works as I want, but I prefer to see all of the choices in checkboxes or radio buttons. It'll have to do. Thanks, John From:...
20761
diodeom
Jun 24, 2010 12:34 pm
... You could resort to enforcing a single checkbox selection in a workaround: ^!SetListDelimiter | ^!SetArray %Box%=A^=1|B^=2|C^=3|D^=4|E^=5 ^!IfTrue...
20762
Bill Mosca
wrmosca
Jun 24, 2010 3:51 pm
... Thank you for the reply. Will that work outside of NotePad? From what little I know about Clips, only PasteClips can do that. Bill...
20763
John Shotsky
shotsky1
Jun 24, 2010 4:01 pm
Very nice. It works very well, but it doesn't remove an existing check when a new one is picked. Or maybe I misunderstood how to implement that? Thanks for the...
20764
diodeom
Jun 24, 2010 4:05 pm
... It does work for me (at least in Thunderbird where I tested). The clip dt resides in the very PasteClips library and so does OnClipChange. Sorry if I...
20765
dvdwriters12
Jun 24, 2010 4:14 pm
Hi guys, This is a sample: "Everton 1 - 0 Portsmouth " "Hull City 0 - 0 Liverpool " "Man Utd 4 - 0 Stoke City " "West Ham 1 - 1 Man City " ...
20766
diodeom
Jun 24, 2010 4:23 pm
Well, NT checkboxes are by design meant to allow multiple selections, so I'm makeshift-coding here against the grain to somewhat accommodate your wish and...
20767
Don
dpasseng
Jun 24, 2010 4:30 pm
something like: .*\d \t{1,2}(.*)\t.* Your last one is missing the trailing tab....
20768
diodeom
Jun 24, 2010 4:35 pm
... This should work on your sample: ^!SetListDelimiter ,\x20 ^!SetArray %Away%=^$GetDocMatchAll(-\x20\d+\x2092;K.+?(?=\x20?"\R))$ ^!Set...
20769
diodeom
Jun 24, 2010 4:42 pm
... Errata (if spaces I copied could be tabs and to catch the no-CR trailing at the end): ^$GetDocMatchAll(-\h92;d+\h\K.+?(?=\h?"(\R|92;Z)))$...
20770
dvdwriters12
Jun 24, 2010 6:13 pm
Hi Diodeom, I tried your example but it didnt find anything. They are tabs and spaces which the forum is not showing properly. The last one has no tab. To get...
20771
diodeom
Jun 24, 2010 6:31 pm
... That's quite different than the sample I played with... And what a mess when I copied it directly from the web! Chrome gave me multiple tabs and spaces,...
20772
dvdwriters12
Jun 24, 2010 6:38 pm
Yeah it is messy when copied from the web. But thanks that worked a treat!! Do you mind giving me a quick break down on your regular expression. Some of those...
20773
diodeom
Jun 24, 2010 7:01 pm
My pleasure. ^$GetDocMatchAll(-\h+92;d+\h+\K.+?(?=\h*(\R|\Z)))$ Locate: - (dash) \h+ (followed by at least one horizontal space like \t or \x20, that is: tab or...
20774
dvdwriters12
Jun 24, 2010 7:40 pm
Thank you, much appreciated!!...
20775
Sarah
gwilymjj
Jun 24, 2010 8:40 pm
Excuse me everyone, I joined this group hoping to learn some clip programming but must confess that I'm even more confused than ever - though I haven't really...
20776
Axel Berger
absalom_nemini
Jun 24, 2010 8:57 pm
... <Control><End> works in any other editor too or ^!Jump TEXT_END in a clip ... Possible but not simple. You would in case have to enter the desired position...
20777
John Shotsky
shotsky1
Jun 24, 2010 9:14 pm
I run with large documents all the time, and find that dragging the slider is the fastest way to maneuver within the file. Easy to drag to either end, or any...