My question is, I have a string and I want to remove some elements from it.
$String = "#R1@&0000#R2@&1111#R3@&2222#R4@&3333#R5@&4444#R6@&5555";
Here in this above string I Want to remove this --> #R1 #R2 #R3 #R4 #R5 #R6
So the output should be -->
$String_updated = "@&0000@&1111@&2222@&3333@&4444@&5555"; //#R1..#R2..#Rn has been removed
So any ideas or solution for this task ?
Thank You.