in reply to Pattern matching question

rtfm i'd say, but here we go again:
#!/usr/bin/perl -w use strict; my $test="<blah>234</blah>"; my ($output) = $test =~ m/<blah>(.*?)<\/blah>/; print $output;