Greetings;

I have, conservatively, dozens of html files to change.

I can find them and pass the file name to perl and
do the usual s/// changes but there is one change I can't
figure out.

There is a line in each file that looks like

    <H1>This-Is-The-Title</H1>

of course, they are all different!

How can I change the hyphens to spaces in this line only?

Complicating the task is:

    1. I don't know that there is only one such line per file.
       I need to get them all.
    2. I don't know that all <H1> are upper case.
    3. Not all of the <H1> lines are the same record in the file.


TIA for any help!

Dennis


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to