http://qs321.pair.com?node_id=10299

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

For example, given

$string = "abe[123955785adasd]jdjajd";

I want to extract the substring between the [ and ] characters, and store it in another variable.

Originally posted as a Categorized Question.