I'd like to compare 2 html files programatically.
However I want to use something better than diff; Is there any tool/framework out there that lets you compare html files, but use some sort of mask to ignore certain areas of the html?
i.e. things like dates which will change etc, i need to ignore those for the purposes of diffing the content.
Or maybe it's simply a case of doing some sort of search and replace before doing the bog standard diff?
Pretty much any script that can read lines from a text file will work. Then you can use regular expressions to "mask" out lines that you don't want to compare.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue! Ciege...
I agree with Ciege.
Use a script that reads lines and uses regular expressions to avoid unwanted mismatchs.
There is no age to learn.
And life is an learning adventure.