#!/usr/bin/perl
use strict;
use warnings;
my $str1 = "welcome to UNIX programming";
my $str2 = "WELCOME to unix programming";
$str1 =~ /([A-Z]+)/;
print "$1\n";
$str2 =~ /([A-Z]+)/;
print "$1\n";
Thanks fot the solution...
if the string is
D fm_mtx_cust_check_IMSI - PCM_OP_SEARCH output Function:
the above code is returning only PCM and not PCM_OP_SEARCH.
Any clue?