Advertisement

Tutorials

Home Authors Alphabetical List Author

John Dixon

Guides (2):

Using Perl and Regular Expressions to Process HTML Files - Part 2
August 17, 2007
In this part we'll develop a Perl script to process an HTML file.

Using Perl and Regular Expressions to Process HTML Files - Part 1
August 16, 2007
Like many web content authors, over the past few years I've had many occasions when I've needed to clean up a bunch of HTML files that have been generated by a word processor or publishing package. Initially, I used to clean up the files manually, opening each one in turn, and making the same set of updates to each one. This works fine when you only have a few files to fix, but when you have hundreds or even thousands to do, you can very quickly be looking at weeks or even months of work. A few years ago someone put me on to the idea of using Perl and regular expressions to perform this 'cleaning up' process.

Advertisement

Partners

Related Resources

Other Resources

image arrow