nuance has asked for the wisdom of the Perl Monks concerning the following question:
Ok Q & A isn't really designed to give you the kind of help you're looking for. Since you haven't logged in I can't contact you directly, but I've moved this to Seekers of Perl Wisom.
You asked
I'm trying to extract a specific block of recurring text from a daily-updated Web page, and output the result to a local file. I'm happy with my HTML retrieval, but then applying regex's on a line-by-line basis requires waaay too much tweeking on my part. How can I substitute across multiple lines? Preferably to the entire file.
See my answer below, I'm having real problems posting this question
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Applying a regex across multiple files
by nuance (Hermit) on May 25, 2000 at 17:51 UTC | |
|
RE: Applying a regex across multiple files
by lhoward (Vicar) on May 25, 2000 at 21:30 UTC | |
|
RE: Applying a regex across multiple files
by Anonymous Monk on May 26, 2000 at 08:51 UTC | |
|
RE: Applying a regex across multiple files
by Anonymous Monk on May 26, 2000 at 09:07 UTC | |
|
RE: Applying a regex across multiple files
by Anonymous Monk on May 26, 2000 at 08:30 UTC |