$temp_array[1] =~ s/\(\)//g; # Remove parentheses to avoid mishaps during pattern matching