Search found 6 matches

by kjustian
Tue Jan 24, 2006 11:02 pm
Forum: Advanced Find and Replace
Topic: Can replace expression substitute characters?
Replies: 6
Views: 36293

Oh, and I forgot to ask - what were the options (and/or modifiers) to make http://www.abacre.net/forums/viewtopic.php?t=223 work?
by kjustian
Tue Jan 24, 2006 10:57 pm
Forum: Advanced Find and Replace
Topic: Can replace expression substitute characters?
Replies: 6
Views: 36293

When I tried this, some lines had too many replacements. So instead of asking right away, I thought it would be better to try and learn how for myself. I have been using Textpad for a few years and have had mixed success with RE before. Now there seems to be more books and other tools available as ...
by kjustian
Tue Jan 24, 2006 6:42 pm
Forum: Advanced Find and Replace
Topic: Can replace expression substitute characters?
Replies: 6
Views: 36293

\{C_([A-Za-z0-9]*)_Panelview(.)(0)?(\d*)(_)?(0)?(\d*)?\}

No, I did have to change it like this...

But in this case, I do not always want to replace $4 with a "." - only if the value is "_". I do not use $2 in the replacement string because I will always replace it with the "[". Maybe there ...
by kjustian
Tue Jan 24, 2006 4:31 pm
Forum: Advanced Find and Replace
Topic: Can replace expression substitute characters?
Replies: 6
Views: 36293

Can replace expression substitute characters?

If I use the following regex

Find
\{C_([A-Za-z0-9]*)_Panelview(.)(?:0)?(\d*)(_)?(?:0)?(\d*)?\}

Replace
{[PLC_05052]C_$1_Panelview[$3]$5}

Example text block before
{C_OP700_Panelview_424}
{C_OP700_Panelview_00}
{C_OP700_Panelview_10_00}
{C_OP700_Panelview_06_10}
{C_OP700_Panelview_32 ...
by kjustian
Fri Jan 20, 2006 11:45 pm
Forum: Advanced Find and Replace
Topic: Can someone help me with some RegEx?
Replies: 3
Views: 22917

Wow thanks for the quick reply!

This is excellent service (BTW I just bought this program!)
Thanks again!!!
by kjustian
Fri Jan 20, 2006 11:25 pm
Forum: Advanced Find and Replace
Topic: Can someone help me with some RegEx?
Replies: 3
Views: 22917

Can someone help me with some RegEx?

I need to search for the following formats of strings

C_OP700_Panelview_424
C_OP700_Panelview_00
C_OP700_Panelview_10_00
C_OP700_Panelview_06_10
C_OP700_Panelview_32
C_OP700_Panelview_10_11
C_OP700_Panelview_500
C_System_Panelview_424
C_System_Panelview_00
C_System_Panelview_10_00
C ...