in reply to Regular Expressions
Sorry for the Unclear question. I am first time in this. this is somewhat a homework question.Plz help me to sort it out..
the text i will get from another .txt file and the text file will have so many lines
i need to replace some repeating words with comma in each line.
For eg:
These are the-words-ofline-X c:\temp\onefilename.txt with time =10day2h::56m::25s
These are the-words-ofline-Y c:\temp\secondfilename.txt with time =5day3h::46m::45s
at the end i need
X,c:\temp\onefilename.txt,10,2,56,25,
Y,c:\temp\secondfilename.txt,5,3,46,45,
in an array
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regular Expressions
by AnomalousMonk (Archbishop) on Jul 07, 2015 at 10:18 UTC |