I have two text files, one containing HTML and the other containing URL slugs:
FILE 1 (HTML):
PHP is the easiest!
$firstFile = file('file1.txt'); $secodFile = file('file2.txt'); $findKey='/article/'; $output=''; if (count($firstFile)==count($secodFile)) or die('record counts dont match'); for($i=0;$i