I'm opening and reading an HTML file into a string using PHP. I don't excel at regular expressions so I'm looking for some help. I need to be able to extract one table from this HTML file that I know will always come immediately after the string "<p>Click on Course ID link in the first column to drop/change a class.</p>", two newline characters and maybe a little white-space ( a single tab or whatever that translates into ). I'm pretty sure this table will always start at the same line, but it will not always end at the same line. Is this easily done using regular expressions?