http://www.perlmonks.org?node_id=10698

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Given some HTML like

<TR><TD>Foo:</TD><TD> bar </TD></TR>
I want to extract the string "bar" into a variable.

Note the space on each side will be there, even if the value string is "".

Originally posted as a Categorized Question.