Search found 39 matches

by redcairo
Sat Jul 09, 2011 1:18 pm
Forum: General
Topic: searching for binary chars
Replies: 4
Views: 254

Hmmn, maybe I don't know the right term. That script seemed to mark every line that had a ><.: but didn't find the 'sample variable' chars I was looking for just as a test (degree, an a with umlaut, 1/2, all chars copied from MS Word (copy/paste) to text). We take Word output from an editorial group...
by redcairo
Sat Jul 09, 2011 12:26 pm
Forum: General
Topic: searching for binary chars
Replies: 4
Views: 254

searching for binary chars

I need to search all open files OR a folder of files (OR if all else fails at least a file) to find any any char that is not, basically, what you would see on the keyboard, and either put out a list or mark them. [Reason: I need to replace any non-keyboard character with its unicode equivalent. I ca...
by redcairo
Sat Jul 09, 2011 11:41 am
Forum: General
Topic: Trim function within a replace
Replies: 7
Views: 632

So sorry, you're right. Text might come in looking like this: 1. ANS: T PTS: 1 DIF: Easy REF : 131 and needs to end up looking like: <value name="points">1</points> (note that I'll be doing this same thing with the other values on this line, not erasing them.) Your selection doesn't exclud...
by redcairo
Sat Jul 09, 2011 11:33 am
Forum: General
Topic: Troubleshooting a resequencing
Replies: 5
Views: 264

Troubleshooting a resequencing

I have files which come en masse with an output for multiple choice questions that looks like: a. option one c. option three b. option two d. option four And I need it to look like a. option one b. option two c. option three d. option four I'd gotten tips from reading other posts here and thought it...
by redcairo
Sat Jul 09, 2011 12:50 am
Forum: General
Topic: Trim function within a replace
Replies: 7
Views: 632

Trim function within a replace

The nice thing about searching first is I always find useful stuff I didn't know I needed until I found it by accident. I'd like to thank the people that take time to answer questions in this forum. I'm only learning regex but even my pitiful beginnings have made a night and day difference for me. I...
by redcairo
Sat May 14, 2011 10:41 pm
Forum: General
Topic: regex S&R - seems like it ought to be simple, but...!
Replies: 7
Views: 353

Apparently the asterisk is what I was missing. It "finds" it now, with that code. Thank you so incredibly much!! I only have one question left I hope (should I make a new thread)? and this is one I haven't been able to figure out at ALL with tutorial sites. (I might add that reading posts ...
by redcairo
Fri May 13, 2011 11:07 pm
Forum: General
Topic: regex S&R - seems like it ought to be simple, but...!
Replies: 7
Views: 353

I got the "replace chars" part, the part that I'm stumped on, is how to make this happen "only in the context of a certain larger string." So if I have identifier="HDVLJQ445247977" When I try to search/replace in textpad, if I use just the bracketed stuff it wipes out A...
by redcairo
Fri May 13, 2011 9:21 pm
Forum: General
Topic: regex S&R - seems like it ought to be simple, but...!
Replies: 7
Views: 353

Your suggestion worked perfectly. (I ended up doing the text part manually as it was different for every entry and unpredictable, even with pattern... couldn't be separated by script from the rest of the content.) Thank you SO much for your assistance. The rest of the work I'm doing, is probably a n...
by redcairo
Fri May 06, 2011 6:48 am
Forum: General
Topic: regex S&R - seems like it ought to be simple, but...!
Replies: 7
Views: 353

regex S&R - seems like it ought to be simple, but...!

I see I put off learning about regular expressions too long, since now I desperately need to write one for a big bulk of stuff and am starting from scratch. I read textpad's help and I read a couple of websites with sort of tutorials. It does seem pretty straightforward albeit complex with all the o...