Hi
A small help needed.
I have few lrc files in a folder .. which can be opened in notepad.
I need to crosscheck whether the following ti ar al la re ve lines existed or not
[ti:xxxxx]
[ar:yyyyy]
[al:zzzz]
[la:EN]
[re:LRCgenerator.com]
[ve:3.00]
And [re:LRCgenerator.com] needs to be replaced with [re:L]
and in each file at the end we will get a line which is not necessary
[04:41.03] ---www.LRCgeenrator.com ---
That total line should be removed
and should save the file as it is.
Can anyone help me on this plz
Find and Replace Text inside file
Moderator: DosItHelp
Re: Find and Replace Text inside file
We cannot read your mind. So we don't know how to fully answer your question.
What does that really mean? What should happen if the line exists? What should happen if the line does not exist?
How are you comparing strings? Just the prefix, like "[ti:"? or must the entire string exactly match "[ti:xxxxx]"?
Dave Benham
karthik wrote:I need to crosscheck whether the following ti ar al la re ve lines existed or not
What does that really mean? What should happen if the line exists? What should happen if the line does not exist?
How are you comparing strings? Just the prefix, like "[ti:"? or must the entire string exactly match "[ti:xxxxx]"?
Dave Benham