Search found 8 matches

by obfusc88
Thu Feb 11, 2010 11:53 pm
Forum: General
Topic: RegEx has strange result
Replies: 2
Views: 268

I knew it was me. What a dummy.

Thank you, that worked out perfect.

That was my first attempt to find the first occurrence of a string where it repeated a few times. I was feeling pretty good until I could not get it totally correct. Thank you again.
by obfusc88
Thu Feb 11, 2010 3:15 am
Forum: General
Topic: RegEx has strange result
Replies: 2
Views: 268

RegEx has strange result

I am using the following Search/Replace strings. I thought it was working OK but found some random lines that were not being picked up. I have provided four groups in two lines from the source file. <span class="FirstColumnPrompt">District Code:</span></td><td><span class="Value">04</span> <span ...
by obfusc88
Mon Nov 16, 2009 7:50 pm
Forum: General
Topic: locating non-zero values
Replies: 2
Views: 282

locating non-zero values

A question for ben_josephs or Bob Hansen: This is the test string (with spaces): 0 0 0 0 0 0 0 0 0 0 0 0%lf% 0 0 0 0 0 0 0 0 0 0 0 0%lf% 0 0 0 0 0 0 0 0 34 34 34 0 0 0%lf% 0 0 0 0 0 0 0 0 0 0 0 0%lf% The task is to locate the non-zero values. I am using "_" for space char in Search/Replace strings ...
by obfusc88
Fri Jul 24, 2009 1:04 am
Forum: General
Topic: fixed line length
Replies: 5
Views: 526

WOW, did not think TextPad RegEx could look back but you guys found another way. I will try this out in the next few days. PS - I thought thtt Reformat would do the whole document, but with a RegEx I thought I could do different paragraphs selectively by highlighting them. Also trying to learn more ...
by obfusc88
Thu Jul 23, 2009 10:28 pm
Forum: General
Topic: fixed line length
Replies: 5
Views: 526

fixed line length

How can I make RegEx insert a \n at the last space char before char 65? I want to do something like word wrap with some long text paragraphs. So If I want a width of 65 or less, I need to repalce the space with \n. I can insert \n at position 65, but it sometimes ends up in the middle of a word, so ...
by obfusc88
Wed Mar 25, 2009 11:25 pm
Forum: General
Topic: multiple delimiters
Replies: 1
Views: 297

multiple delimiters

This is a typical sample line showing sometimes a comma/space as delimiter, sometimes in double quotes, not always. Different patterns may change position on each line. Sample line: "this is a good piece" "abc" , "5" "66",7 Looking to get these values selected from the line: 1= "this is a good piece ...
by obfusc88
Thu Mar 12, 2009 10:58 pm
Forum: General
Topic: Replace commas within quotes
Replies: 1
Views: 268

Replace commas within quotes

Problem: Cannot parse string with comma delimiters. Plan to temp replace some commas with tildes, parse the result, then replace the original commas. Need help to replace "internal" commas with tildes, and remove double quotes. Would like to do in one RegEx if possible. Replace commas within double ...
by obfusc88
Fri Dec 22, 2006 11:25 pm
Forum: General
Topic: Cool new release released..
Replies: 9
Views: 2709

Another poster who screams about no updates in 2 years, but has posted no bugs here, has not asked for any support or help with problems. Since no problems in two years, why the frequent crying every six months for an upgrade. Has only posted to two threads, just to cry and moan. Has not even made ...