Hi,
I am new to perl. I am trying to read a text file and extract a match some data in each line and store it in an array. I can read the file but having trouble to extract the data from eachline. i.e. line looks like:
I want to extract range of data starting from d: all the way to ## in one variable and data starting from ## to the end in second variable.
Can someone help in building an appropriate regular expression. After d:\ I can have diffrent value on eachline of the file and same for ## after that I can have any value.
Thanks
I am new to perl. I am trying to read a text file and extract a match some data in each line and store it in an array. I can read the file but having trouble to extract the data from eachline. i.e. line looks like:
Code:
test1 testing 6758 d:\something\te##skfj.com
Can someone help in building an appropriate regular expression. After d:\ I can have diffrent value on eachline of the file and same for ## after that I can have any value.
Thanks