... Toggling word wrap sometimes inserts empty lines, though it isn't related with using clips. Alex....
22030
Don
dpasseng
Sep 3, 2011 2:46 pm
Suddenly not working ... thought it did. File has 1300 lines, is there a file size max on this working? ^!Set %DataTested%=^?{RegEx Term to Search For, Pipe...
22031
John Shotsky
shotsky1
Sep 3, 2011 2:55 pm
There is no file size limitation. but what are you trying to do? If it's what I think, I'd probably just use a replace to tag the beginnings of lines with a...
22032
Don
dpasseng
Sep 3, 2011 5:13 pm
this works fine on 500 and 1000 lines but not on 1500 lines it removes all lines not containing something which can be alternate words (since it's regex) so...
22033
John Shotsky
shotsky1
Sep 3, 2011 5:45 pm
I have a 900K regex library, and I run it on 100,000 line files with no such limitations. I suspect there is something else going on – computer memory, swap...
22034
Axel Berger
absalom_nemini
Sep 3, 2011 7:35 pm
... Don saves all his lines in an array. 1300 lines at, say, 60 characters makes 78000 bytes. This smells like a 64 kB array limit. Axel...
22035
flo.gehrke
Sep 3, 2011 10:44 pm
... Don, For me, your clip works fine. But occasionally we've experienced that ^$GetDocMatchAll$ gets into trouble with the '$' sign. In this case, you better...
22036
flo.gehrke
Sep 4, 2011 11:45 am
... John, Complicated, isn't it?. Why don't you write... ^!Set %Del%=^?{Remove lines not containing:} ^!Replace "^(?!.*(?:^%Del%)\b).*(\R|\Z)" >> "" WARS Watch...
22037
Don
dpasseng
Sep 4, 2011 3:19 pm
I want to work on one column of data on each line. The example I am working on today looks like this: 1 Tom Van Gogh Brother Rice 184 16:09.2 5:13/M 2 John...
22038
Axel Berger
absalom_nemini
Sep 4, 2011 3:32 pm
... Easy: ^!Find "^([^92;t]*\t){2}([^92;t]+)92;t RASTI2 After that the find is highlighted. You can work on ^$GetSelection$ and write the result with ^!InsertText....
22039
Don
dpasseng
Sep 4, 2011 3:42 pm
... Sorry insufficient info on my part, it could be any column, not always three. I think there is a way to get things in column x but I'm drawing a blank....
22040
c.brito78
Sep 4, 2011 3:49 pm
Hi friends, How to use regex to delete all lines with the word "kkk"? Thanks!...
22041
Don
dpasseng
Sep 4, 2011 3:52 pm
That would be my clip of yesterday. Or try this: ^!Replace ".*?kkk.*\r92;n" >> "" RAWS However that would take kkk out of the middle of a word as well....
22042
Don
dpasseng
Sep 4, 2011 3:56 pm
... I'm thinking it is GetField I was looking for. I rediscovered the clip NoteTab Googler (awesome clip that searches the past messages) and also came across...
22043
Axel Berger
absalom_nemini
Sep 4, 2011 4:12 pm
... Yes. This one was so simple to make from scratch, I never thought of looking for a ready-made function, but as it's there, we might as well use it. ... ...
22044
Axel Berger
absalom_nemini
Sep 4, 2011 4:15 pm
... No. With that question mark, it will only delete zero characters in front of the kkk. Make it ^!Replace "^.*kkk.*$" >> "" RAWS Axel...
22045
John Shotsky
shotsky1
Sep 4, 2011 4:27 pm
I'd like to be able to sort groups alphabetically, ascending only. The groups are identified with square brackets, and I want to sort only on the first line in...
22046
C
abetsent
Sep 4, 2011 4:29 pm
Hi, Thanks to all friends!...
22047
Axel Berger
absalom_nemini
Sep 4, 2011 4:58 pm
... Don't thank me too early. My suugestion would leave you with loads of empty lines. Don thought of getting rid of the carriage return and line feed too, I...
22048
Don
dpasseng
Sep 4, 2011 5:39 pm
correct ... what was I thinking :-)...
22049
John Shotsky
shotsky1
Sep 4, 2011 7:01 pm
I figured out an inelegant method to do this. For anyone that's interested, here's what I did. 1. Copy the first line in each group up to the opening bracket. ...
22050
KenH
kenfhill84083
Sep 5, 2011 12:27 am
I need to be able to find a word and its surrounding words, up to 3 in front and 3 following. For example, in the sentences below I'd like to search for 'aid'...
22051
Don
dpasseng
Sep 5, 2011 12:36 am
... Check this out if you want to search for something we have previously done. http://htmlfixit.com/blog/?p=344...
22052
Art Kocsis
artkns
Sep 5, 2011 12:52 am
Two possibilities: 1 - (A mod of yours): Replace all "^P" with "||" (unique EOL char string) Replace all "]" with "]^P" (one line per...
22053
Don
dpasseng
Sep 5, 2011 1:03 am
Okay, so I switched out to yesterday's suggestion of GetDocListAll. Seems to work. As to the sample file it was suggested that I seemed unwilling to provide a...
22054
bruce.somers@...
bruce.somers
Sep 5, 2011 8:49 am
I have the need to join corresponding lines from two files, one after the other. I have file AÂ Â Â Â Â Â Â File B ... lineA1Â Â Â Â Â Â Â lineB1 ...
22055
diodeom
Sep 5, 2011 1:34 pm
... To account for possible capitalization, punctuation, dashed or apostrophized words, beginning- or end-of-sentence term's presence and its (presumably...
22056
diodeom
Sep 5, 2011 1:36 pm
... Have a look at the straightforward solutions offered in response to this recent similar inquiry: http://tech.groups.yahoo.com/group/ntb-clips/message/22017...
22057
John Shotsky
shotsky1
Sep 5, 2011 2:21 pm
Thanks Art, that is an improvement, and I incorporated it. Regards, John From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of Art...
22058
Sezor
piprake
Sep 5, 2011 4:29 pm
Someone mentioned odd changes to clips recently. Well, an odd thing happened on 4.95 this morning. A clip run automatically every day reverted to a version 2 ...