Search found 14 matches

by pb4072
Fri Jul 11, 2014 6:39 pm
Forum: General
Topic: Trouble with "find in files"
Replies: 1
Views: 285

Trouble with "find in files"

Hello, I use CVS for the Ruby script we write on our server. They've changed the CVS server. I need to go into every instance of the file named "Root" and change the server name. So, obviously, TextPad should make this easy. But, I don't know why, but, it's not working. It sees 212 instances of the ...
by pb4072
Mon Sep 30, 2013 1:05 pm
Forum: General
Topic: Why doesn't this work?
Replies: 1
Views: 509

Why doesn't this work?

Hi, I need to keep the first word of every line, but, remove anything thereafter. I need to do this for each line of a 150 line file. I'm searching for this: ^(.*$)(.*)$ I'm replacing with this: \1 When I run this, it's removing everything. I'm left with blankness. Interestingly, in version 5 of ...
by pb4072
Sat May 14, 2011 3:02 pm
Forum: General
Topic: greedy regexes
Replies: 4
Views: 401

greed and non-greedy regexes

Probably. I'm at home now. I do this stuff at work. When I'm back to work Monday I'll try that. That looks correct.
by pb4072
Sat May 14, 2011 1:55 pm
Forum: General
Topic: greedy regexes
Replies: 4
Views: 401

greed and non-greedy regexes

Thanks, Ben. My example wasn't very good. I'm trying to parse through a comma-delimited Excel file, to try and make it into XML. So, I was trying to capture the first object in the line, in this case "employee," followed by its content, up to the beginning of the second object. So, your description ...
by pb4072
Thu May 12, 2011 10:29 pm
Forum: General
Topic: greedy regexes
Replies: 4
Views: 401

greedy regexes

Hi, I've always thought that if I put a "?" after a search expression, that it would stop after the first instance of something. Doesn't seem to work for me, because, the whole line gets selected instead of just the first instance. search <employee>(.*)? gives me the whole line instead of just the ...
by pb4072
Thu May 05, 2011 2:44 pm
Forum: General
Topic: Weird message when I open an XML file.
Replies: 1
Views: 209

Weird message when I open an XML file.

Hello, I get this strange message when I open some XML files. This specific file is the "footnote" xml file for a Word document. Perhaps it has something to do with Unicode characters?? "Warning. "footnotes.xml" contains characters that do no exist in code page 1252 (ANSI - Latin 1). They will be ...
by pb4072
Fri Mar 04, 2011 6:30 pm
Forum: General
Topic: making sequential numbers
Replies: 6
Views: 422

OK. I'm sorry. I feel that I've done what I can. I'll seek other ways. Thanks, anyway.
by pb4072
Fri Mar 04, 2011 3:26 pm
Forum: General
Topic: Error message when opening an XML file
Replies: 0
Views: 184

Error message when opening an XML file

I get the following error when I open an XML file. WARNING: "Story_ule2b.xml" contains characters that do not exist in code page 1252 (ANSI - Latin I). They will be converted to the system default character, if you click OK. I thought that XML just used ASCII characters. When I open this file, I do ...
by pb4072
Fri Mar 04, 2011 3:07 pm
Forum: General
Topic: making sequential numbers
Replies: 6
Views: 422

I'd have to give you the entire RTF file to show you how I want it. If you look at the RTF above, you'll see the footnote, both its reference in the text and its bottom-of-the-page footnote data. If there are 300 footnotes in the document, which there are, then, I want to be able to numerically ...
by pb4072
Tue Mar 01, 2011 6:56 pm
Forum: General
Topic: making sequential numbers
Replies: 6
Views: 422

footnotes

Hmmm. Well, it looks like this. The first "\footnote" indicates the place in the file where the footnote reference is. In this case, it's footnote number 1. Everything following that is the actual footnote as it appears at the bottom of the page. disputed.{\cs16\super 1}{\footnote \pard\plain \s35 ...
by pb4072
Fri Feb 25, 2011 4:01 pm
Forum: General
Topic: making sequential numbers
Replies: 6
Views: 422

making sequential numbers

Is there any way to find numbers in a file and to re-order them, sequentially? I've got a problem MS Word file. When saved as an RTF file, I can pull it up in TextPad. I need to make sure that all the footnotes are sequential. Word is very frustrating when it comes to long documents with footnotes ...
by pb4072
Wed Nov 24, 2010 4:56 pm
Forum: General
Topic: Using "compare files"
Replies: 2
Views: 1241

Using "compare files"

Yes. I finally figured out what it's displaying. It basically shows everything that's in the one file, then everything that's in the other file. Not very friendly. Thanks for your response.
by pb4072
Tue Nov 23, 2010 2:17 pm
Forum: General
Topic: Using "compare files"
Replies: 2
Views: 1241

Using "compare files"

I've been using TP for almost 15 years now, and, I've always loved it. But, I have to admit that I'm totally baffled as to the use of "compare files." I've got two simple text files. Each are simply directory listings of two directories. I just want to see what's in the first directory, but not in ...
by pb4072
Tue Nov 10, 2009 7:26 pm
Forum: General
Topic: can't install license for TextPad
Replies: 1
Views: 485

can't install license for TextPad

Hi, I'm using Windows 7. I've installed TextPad, as myself, an administrator. When I try to copy and paste the license file I have, I get the folowing message: "This installation is forbiden by system policy. Contact your system administrator." Well, basically, I am the system administrator for my ...