G
George
Hi,
I have following lines in a file, below is example of one such line ,
yes it is long line
9) MediaRecorder-NewYork#xenaroject:BBM#1 working xena
project MediaRecorder BBM51#1 NewYork#541
What I need to get is
MediaRecorder-NewYork#xenaroject:BBM#1
What I have done so far is
my @prog=map (/[(.*?)A-Za-z](.*)(?=\s+ )/,@comfile); #where @comfile=
contents of file
Why does this regex fail to find the end of search= whitespace
if I use (?=working) it works but I get blank lines till working which
I dont need
I have following lines in a file, below is example of one such line ,
yes it is long line
9) MediaRecorder-NewYork#xenaroject:BBM#1 working xena
project MediaRecorder BBM51#1 NewYork#541
What I need to get is
MediaRecorder-NewYork#xenaroject:BBM#1
What I have done so far is
my @prog=map (/[(.*?)A-Za-z](.*)(?=\s+ )/,@comfile); #where @comfile=
contents of file
Why does this regex fail to find the end of search= whitespace
if I use (?=working) it works but I get blank lines till working which
I dont need