in reply to Regular Expression Matching Issue

One reason the regular expression does not match is because you do not have the string "movie" in your test.txt file. There may be other reasons, but I would start with that.

Also, you should first check if the regex matched before trying to use $1.

There are plenty of good HTML parsers available; why do you want to re-invent that wheel?

Replies are listed 'Best First'.
Re^2: Regular Expression Matching Issue
by Anonymous Monk on Jan 02, 2008 at 19:39 UTC
    Wrong type it should ne table, still doesn't work!!!