Can I use regex to merge two files in Python



I've posted a question yesterday regarding merging two XML files. However, even after quite a few views, it didn't get any response. I now am wondering if I can use regex to merge the files whenever the content between "<>" matches and leave the unmatched content as it is? If so, I'd really appreciate any help.


Edit - I'd really appreciate if you could leave a constructive comment before down-voting.


No comments:

Post a Comment