Search found 15 matches

by jmca2000
Sun Feb 27, 2011 9:42 pm
Forum: General
Topic: Find The Beginning & End of Text and Replace with BLANK?
Replies: 2
Views: 325

THANKs Ben, Worked Like a Charm!!!
by jmca2000
Sun Feb 27, 2011 8:54 pm
Forum: General
Topic: Find The Beginning & End of Text and Replace with BLANK?
Replies: 2
Views: 325

Find The Beginning & End of Text and Replace with BLANK?

Hi, Could someone Please Help me figure out how to change the following code?
if (//abovePrice_292
whiteLineAbovePrice_Y
&& orangeLineAbovePrice_N
&& yellowLineAbovePrice_N
&& cyanLineAbovePrice_Y
&& blackLineAbovePrice_N
&& dodBlueLineAbovePrice_N
&& blueLineAbovePrice_N ...
by jmca2000
Sat Feb 26, 2011 3:51 pm
Forum: General
Topic: Convert and Transpose Text to an Additional Location
Replies: 10
Views: 513

Thanks Ben For ALL your Time and Help, May it come back to you 10 Fold.
by jmca2000
Sat Feb 26, 2011 3:15 am
Forum: General
Topic: Convert and Transpose Text to an Additional Location
Replies: 10
Views: 513

Ben, Sincerely THANKs for all your help with this.

I'm on a time restraint with my C# program.

I did do some research on your forum site and learned how to delete Blank lines with and without // in them and also how to add a blank line and remove spaces and tabs from a blank line (not truely ...
by jmca2000
Fri Feb 25, 2011 10:56 pm
Forum: General
Topic: Convert and Transpose Text to an Additional Location
Replies: 10
Views: 513

Ben,

Your original code showed Only:

Find what: ^(&& )?[a-z]+$
Replace with: Print("\0");
[ ] Match case [i.e., not selected]
[X] Regular expression
Replace All

That's why I removed the POSIX.

IT WORKED :)

I don't understand what you mean by:

"To show your examples with their original ...
by jmca2000
Fri Feb 25, 2011 9:31 pm
Forum: General
Topic: Convert and Transpose Text to an Additional Location
Replies: 10
Views: 513

Hi Ben,

Thanks for your Help. I used the code you gave me but I got the Following response: "Cannot find regular expression:" ^(&& )?[a-z]+$.

I used just Regular expression Not POSIX. ???

The only other thing I know of is that there may be Leading Tabs or Spaces and I don't know how to do an all ...
by jmca2000
Fri Feb 25, 2011 6:45 pm
Forum: General
Topic: Find&Replace,Beginning&End of Text using Wild Card
Replies: 12
Views: 683

I Know, Thanks for your continued Help.

I Hope it's still possible you could help me out with the other modified Post?

Thanks Again Joe.
by jmca2000
Fri Feb 25, 2011 5:29 pm
Forum: General
Topic: Convert and Transpose Text to an Additional Location
Replies: 10
Views: 513

Ben, Could you then just Please help me with the following:

Convert this:
if (//upDown_1
whiteLineDown
&& orangeLineDown
&& yellowLineDown
&& cyanLineDown
&& blackLineDown
&& dodBlueLineDown
&& blueLineDown
&& greenLineDown
&& redLineDown
)
{
upDown_1 = true ;
DrawText("upDown_1 ...
by jmca2000
Fri Feb 25, 2011 5:10 pm
Forum: General
Topic: Find&Replace,Beginning&End of Text using Wild Card
Replies: 12
Views: 683

I'm Sorry Ben I meant 'whiteLineDown' to 'Print("whiteLineDown");'

Thanks.
by jmca2000
Fri Feb 25, 2011 4:23 pm
Forum: General
Topic: Find&Replace,Beginning&End of Text using Wild Card
Replies: 12
Views: 683

Hi Ben,

Please forgive my lack of knowledge of Regular expressions, I NEVER heard of this until about 2 days ago. I wish I would have known about this weeks ago, I can't tell you the amount of time this would have saved me.

I guess I figured out what you meant by Use POSIX (what ever that means ...
by jmca2000
Fri Feb 25, 2011 3:48 pm
Forum: General
Topic: Find&Replace,Beginning&End of Text using Wild Card
Replies: 12
Views: 683

Are you using "Posix" regular expression syntax?

I check the box that says Regular expression.

Has a spurious space been introduced at the end of your regex?

No.

Are there leading spaces in your source that aren't in your posting?

No, I Cleaned the code up took all spaces and tabs out.

Thanks.
by jmca2000
Fri Feb 25, 2011 3:23 pm
Forum: General
Topic: Find&Replace,Beginning&End of Text using Wild Card
Replies: 12
Views: 683

Hi Ben, In my C# compiler it sort of works but does not work in TextPad :?: .
I get the Following result from the compiler:

Print("whiteLineDownwhiteLineDown whiteLineDown");
Print("&& orangeLineUp&& orangeLineUp orangeLineUp");
Print("&& yellowLineDown&& yellowLineDown yellowLineDown");
Print ...
by jmca2000
Fri Feb 25, 2011 2:04 am
Forum: General
Topic: Find&Replace,Beginning&End of Text using Wild Card
Replies: 12
Views: 683

Hi Ben, Thanks for your Help. I used the code you gave me but I got the Following response: "Cannot find regular expression:" ^&* *(.+) :(
I don't know why it did not work? I only used one space and that was between the * *. Also to answer your question, it did not supersede my other quesion. I ...
by jmca2000
Thu Feb 24, 2011 8:27 pm
Forum: General
Topic: Find&Replace,Beginning&End of Text using Wild Card
Replies: 12
Views: 683

Find&Replace,Beginning&End of Text using Wild Card

Hi, I tried finding an example of this on the forum but could not find it.

How do you Find the following using a wild card:

whiteLineDown
&& orangeLineUp
&& yellowLineDown
&& cyanLineDown
&& blackLineDown
&& dodBlueLineDown
&& blueLineDown
&& greenLineDown
&& redLineDown

AND Replace it ...
by jmca2000
Thu Feb 24, 2011 6:10 pm
Forum: General
Topic: Convert and Transpose Text to an Additional Location
Replies: 10
Views: 513

Convert and Transpose Text to an Additional Location

Hi, I'm New to TextPad and Regular Expressions.

I have over 2500 of the following test conditions in my code in C# :

if (//upDown_129
whiteLineDown
&& orangeLineUp
&& yellowLineDown
&& cyanLineDown
&& blackLineDown
&& dodBlueLineDown
&& blueLineDown
&& greenLineDown
&& redLineDown ...