if ($chapter =~ /^([\d.]+\.)\d+$/) { print "$1 is prior to $chapter.\n"; } [download]
In reply to Re: Parsing chapter id's by chipmunk in thread Parsing chapter id's by tune