You can see the above two stings, that $string_2 contents are available in $string_1 but the only difference is tags (ie: <a> or <sup>).

I want to match $string_2 in $string_1 and have to create/copy what are the tags inside in $string_1 matching area to the $string_2 contents.


Kindly anybody give any idea to solve this

Thanks
Vimal

Code:
my $string_1 = "Noch befinden wir
...