Search found 5 matches

by kyguy6969
17 Oct 2014 02:20
Forum: Scripts
Topic: Need a few examples, please
Replies: 8
Views: 20089

Re: Need a few examples, please

for (var i = 0; i < upto; i++) { x = ScriptUtils.Pos(needle, Document.Lines ); if (x == 0) { // no needle on this line d[j] = Document.Lines ; j++; } } This is an excerpt from pjj's post. What I'm now trying to do is to detect a string in d[j] that terminates in the new line character, say abcdefg<...
by kyguy6969
10 Dec 2013 19:33
Forum: Scripts
Topic: Need a few examples, please
Replies: 8
Views: 20089

Re: Need a few examples, please

The posts helped me greatly. Thanks again. However, I've run into one speed bump, and I need help. In a var, I have: var temp = "12/10/2013 21:39 HOURS (ET) USA"; But when I try to get a sub string, I get an error. I've tried may, may variations to no avail. Can someone help? Say for insta...
by kyguy6969
10 Dec 2013 16:27
Forum: Scripts
Topic: Need a few examples, please
Replies: 8
Views: 20089

Re: Need a few examples, please

Thanks loads!

I haven't been on the board for awhile. The example have given me a jump start on what I needed.
by kyguy6969
07 Nov 2013 01:15
Forum: Scripts
Topic: Need a few examples, please
Replies: 8
Views: 20089

Need a few examples, please

I need a few examples. Specifically:

1. Loop through a file from beginning to end, storing the current line in a variable.
2. Find a line with a specific text in it, select the line, and delete the line (including the newline character).

Thanks in advance.
by kyguy6969
02 Jun 2013 16:49
Forum: Scripts
Topic: REGEX "Problem"
Replies: 5
Views: 16496

REGEX "Problem"

I have a script in another editor that I want to get away from, if I can and use RJ Text Ed. But the "deal breaker" is if I can get it to do some conversion. Say I have this (US dates MM/DD/YYYY): USER1234 (06/21/2012 02:34:59 PM EST) XYZ1 (06/21/2012 03:38:14 PM EST) ABCD (06/22/2012 06:4...