$results{$number} .= "$url... @before $1 @after
"; #### for $term ( @$inputs ) { while ( /\b$term\b/g ) { ... } }