Need help to search <10,9:10/4947000219> in perl.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help to search <10,9:10/4947000219> in perl.

Eric
I've a file which contain a multiple line out of which I wanted to search below line and replace with different string with the help of Perl in UNIX OS.

10,9:10/4947000219

As m new in Perl world. need help to resolve the issue.

Regards,
Eric
Reply | Threaded
Open this post in threaded view
|

Re: Need help to search <10,9:10/4947000219> in perl.

Guru
Administrator
Can you show the sample input file content and sample output?
Reply | Threaded
Open this post in threaded view
|

Re: Need help to search <10,9:10/4947000219> in perl.

Eric
File have below lines..
11,15:23
10,9:10/4947000219
12,02:22

need out like
11,15:23
10,9:10/4947000220
12,02:22
Reply | Threaded
Open this post in threaded view
|

Re: Need help to search <10,9:10/4947000219> in perl.

Eric
It Would be better if u give an idea about use of \K in Perl reg exp with example.