Search found 1215 matches

by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: How to write a Regular expression for the following:
Replies: 1
Views: 2108

Hi,

I tested and the following works:

Search for:
Screen (.*)\.PROG ACTION FIND

Replace with:
Screen $PROG\\$1 ACTION FIND

I hope you have got an idea: you should use variables $1 and chars escaping.

Read again:
http://www.abacre.com/afr/manual/regexpsyntax.htm
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: How do I delete everything after a certain line
Replies: 2
Views: 2111

Hi, It's simply. Search for: "<!-- INSERT REPLIES -->".*\Z Replace with: put nothing in it. or "<!-- INSERT REPLIES -->" if you want to keep "<!-- INSERT REPLIES -->" in resulting file. BTW I guess you need it without double quotes: Search for: <!-- INSERT REPLIES -->.*\Z So: .* means any char. \Z i...
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: 8 Files. Replaces in 4, not in other 4
Replies: 5
Views: 3236

Re: 8 Files. Replaces in 4, not in other 4

pmaugust wrote:Hi,
I have 8 files in a directory (3 *.bat, 1 *.txt, 4 *.wme).
The wme file is an XML formatted input file for windows media encoder. It's just text. Any reason why this isnt working?

Thanks in Advance,
Paul


Hi,

In Mask field you should add *.wme.

Roman
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: integration with Visual Studio 6.0
Replies: 1
Views: 1648

So what is your main question? Do you have any issues?
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: RegEx in Find & Find/Replace, not just Batch Replace?
Replies: 1
Views: 1844

For now you may use Batch Replace in Just Find mode. So it's full
functionality of find. But you are right we will try to add it to
find and may be to replace operations.
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: Regular Expressions Case Insensitive?
Replies: 1
Views: 1651

"Case Sensitive" on Batch replace controls only lateral replacement mode: when "Use regular expressions" is OFF. If you want to control case sensitivity when "Use regular expressions" is ON use "Modifier I" in main menu Action - Options - Batch replace. So to make r.e. case sensitive you should set ...
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: Merging lines with continuation character and doing replacem
Replies: 3
Views: 3484

Re: Merging lines with continuation character and doing repl

1) How can I merge lines that have an &, then find if 2 words exists to then replace 3 words? For this case try the following Search for: SUB(.*)SIZE.*&(.*)\Z Replace with: SUB$1&$2 I tried it looks like it works. Sure if needed these r.e. maybe customized to be more precise.
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: Merging lines with continuation character and doing replacem
Replies: 3
Views: 3484

Verify that there are not trailing spaced before and after search and replace pairs. I tried first time and it did not work too. But after that I found out there was a trailing space after \Z So finally I got resulting code: SUBFILE EMF147.PUB & KEEP & & INCL SUBWHSE, DATE-ISSUE & IN...
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: How can I Delete one "-" in the line.
Replies: 2
Views: 2068

Hi,

Search for:
<a href="(.*)">(.*)-(.*)</a>

Replace with:
<a href="$1">$2 $3</a>
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: 8 Files. Replaces in 4, not in other 4
Replies: 5
Views: 3236

Re: Still not working

Roman, I used mask *.* (and tried *.wme), but still could not make it work. Using the batch process. Below is one of the wme files and the cfg I am using. Maybe you can figure out what I don't have correct? BTW are these files coded in Unicode or not? You may send them directly to support@abacre.co...
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: Replacing Into A Different Folder
Replies: 6
Views: 4503

Yes, it's added in v2.0. See main menu - Action - Options - Advanced.
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Log Analyzer
Topic: Directory Filtering
Replies: 6
Views: 4331

Hi,

Your filter description should work. Could you send us a fragment of your log file for testing?
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: Difficulty With Batch Processing
Replies: 1
Views: 2007

Could you send a sample file to support@abacre.com with pharses search for /replace with?
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: wildvards....
Replies: 13
Views: 5447

Hi, In manual it's clearly stated what with wildcards (regular expressions) it's possible to make almost any kind of search and replace. But sure some intelligence (brain shake) is needed to find out a solution. Your case is not an exception. Suppose we have the following source code: [07:00] Mo Di ...
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: wildvards....
Replies: 13
Views: 5447

I think it's also possible. Is number of lines in block is fixed? MapOut02 ... MapOut09 So do we always have 02..09? Is the last line of the block is also last line of the file? You may put whole block into Batch replace (sure "Use regular expressions" on Batch replace tab should be selected). For e...