Search found 1201 matches

by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Log Analyzer
Topic: Funny results, especially when comparing with other progs
Replies: 1
Views: 1996

Hi Andrew, > Noticed that all of my Most Common User Paths never include my home > page (index.htm). I figured that it uses a slash (/) to signify the > home page. But some of the other web log analyzers that I use, show > my home page in most of the top user paths. Any ideas why or am I > reading i...
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Log Analyzer
Topic: Does it differentiate between Robot Visitors & Humans?
Replies: 1
Views: 1813

Hi, This is a good question. Here is a good tip how to solve it. 1. Note that names of robots defined in "user agent" field of log file. So: 2. Periodically watch "Last 30 visitors paths" report or even a better idea: see "Most common user agents" reports. Set "limit" parameter (number of rows in re...
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: Delete similiar instance of text string, but retain other
Replies: 1
Views: 1219

Hi, Yes, this is a usual task for AFR. In your message you gave a sample code (source code) but could you also give a resulting code? (What should it be after replacements). Here are some tips: In order to remove a whole line. "1 EA 4.25" Search for: ^.*?EA.*?\r\n Here are: ^ - begin of line. .*? - ...
by Abacre
Mon Jan 31, 2005 5:32 pm
Forum: Advanced Find and Replace
Topic: cant get []-a] to work
Replies: 1
Views: 1298

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

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

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

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

$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: 2656

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

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

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

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

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

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

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.