Hi ladies and gentleman.. I have two text file with me. I need to replace one of the file content to another file if one both files have a matching pattern.
Example:
text1.txt:
ABCD 1234567,HELLO_WORLDA,HELLO_WORLDB
DCBA 3456789,HELLO_WORLDE,HELLO_WORLDF
text2.txt:
XXXX,ABCD 1234567,WORLD_HELLOA,WORLD_HELLOB
XXXX,DCBA 3456789,WORLD_HELLOA,WORLD_HELLOB
output.txt:
XXXX,ABCD 1234567,HELLO_WORLDA,HELLO_WORLDB
XXXX,DCBA 3456789,HELLO_WORLDE,HELLO_WORLDF
Any help will be greatly appreciated 
