I have a file which has a lot of information. The file may gets updated with time. My question is i have a text which is in a particular line ( line number is not fixed). The only identifier is starting of the line: Eg:
A=I love you Mary.
B=I love you Suzi.
C=I love you Jimmy
D=I love you Mary and Jimmy.
Now here i want to change Mary with Maria only where the unique identifier is "A". I cannot do it with line number as A can be in any line. I dont want to change last line which also have the word Mary.