Search found 1223 matches

by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: Can AFR replace text with text from another part of the doc
Replies: 6
Views: 16885

Re: the dollar variable

Can it be caused by the documents being word .doc type ? Yes, I described above r.e. (Perl-style) used for plain text files: html, asp and so on. But MS Word has its own r.e. Read Help file about wildcards in MS Word: You can use the \n wildcard to search for an expression and then replace it with ...
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: Want to delete an entire line if an item is found
Replies: 3
Views: 11077

Read the page with exact answer:
http://www.abacre.com/afr/manual/regexpfaq.htm
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: How replace lines with general worlds
Replies: 1
Views: 8222

Use batch replace batch with regular expressions.
arbitrary symbol is .* in regular expressions.
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: Want to delete an entire line if an item is found
Replies: 3
Views: 11077

Try this:

^.*john.*\r\n

so:
^ means start of the line
.* - any char
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: How can I delete all except necessary worlds
Replies: 4
Views: 12118

It's not clear what do you mean.
Please give a source text and resulting text that you should get after transformation.
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: How can I delete all except necessary worlds
Replies: 4
Views: 12118

Artem, it's possible to do your task. I am just searching for correct r.e. Primarily it should be in 3 pairs of r.e. that should be put into batch grid, something like this: Search for: \A.*?(<a href="\.\*<br>) Replace with: $1 Search for: (<a href="\.\*<br>).*(<a href="\.\*<br>) Replace with: $1\r\...
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Log Analyzer
Topic: Multiple log paths
Replies: 1
Views: 8882

Ok, we will try to implement it shortly.

MEmerson@vitalbasics.com wrote: BTW, if a log path is specified without a trailing \ ie. c:\websites\logs then the analyse function will lock the application.

It's correct. Because apache log files does not have an extension.
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Log Analyzer
Topic: Most frequent word report
Replies: 1
Views: 9149

Hi Diane,

Sure we will implement it.

Roman
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: 9795

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: 9892

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: 15547

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: 9129

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: 8622

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: 8170

"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: 14003

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.