Search found 1198 matches

by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: cant get []-a] to work
Replies: 1
Views: 1236

Please write a more detailed message. Which operation do you use:
Find, Replace, Batch replace? In which mode?
If you still did not find a string in files you may send a sample log
file to support@abacre.com and write a sample search for string.
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: Responsiveness
Replies: 1
Views: 1236

Sorry for delay in answer. It's because the program and search module
work in one thread. We already implemented a search in separate thread
but it still requires some testing.
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: replacement of C-identifiers
Replies: 1
Views: 1251

> Any suggestions? That's easy. Search for: (\W)xy(\W) Replace with: $1ab$2 > > Additionally: how can I tell the "batch replace" to ignore all > entries found in C-comments (both multi-line /*...*/ and single line > //) ? > What do you mean ignore? Do you want to remove all comments? Or do you what ...
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: 2380

Hi, It's interesting case. It's possible. I guess in your case you have only one <H1></H1> tag in a web page or at least: you should take data from the first <H1></H1> tag in a page. Is it right? So what final r.e.: Search for: <TITLE>.*</TITLE>(.*)<H1>(.*)</H1> Replace with: <TITLE>$2</TITLE>$1<H1>...
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: 2380

$2 is one of the tricks that seems most of people don't know in r.e. Read the whole page m from the beginning. So if you use () in r.e. then you may call it in "replace with" part of r.e. by using $ and # of position of () So final r.e. for your case will be: Search for: 10\.([1234567890]{2})\.([123...
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: 2380

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

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

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

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

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

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

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

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

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

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...