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

vroom has asked for the wisdom of the Perl Monks concerning the following question: (regular expressions)

How do I remove whitespace at the beginning or end of my string?

Originally posted as a Categorized Question.