use strict; use warnings; my $string = 'Hello (World).'; print join '_', ($string =~ /(\w+)/g); Prints: Hello_World [download]
In reply to Re: brackets help by webengr in thread brackets help by Anonymous Monk