I have two strings-
1-PFC - PQTG P04 2019 20402-000-9200 Quebec Income Tax (RL-1)
2-PBC-US P05 2018 9131.030.20029008 ACCRUED UNION GROUP INS
Here I have to replace the P04 2019 part of string 1 to the P05 2018 part of string 2.
length of string1 and string 2 is not defined and P04 2018 part can come at any place of the string