in reply to Re: Regexp helpin thread Regexp help
$str =~ /:([\w]+):/; [download]
Since \d is a subset of \w, [\w\d] is the same as [\w].
Then the square brackets are also not needed:
$str =~ /:(\w+):/; [download]