in reply to Re: character from middle
in thread character from middle

Consider the data
__DATA__ + 5 + 23 + 223 + 34 + 45 +
Your solution will remove the last instance of "+" ie.
+ 5 + 23 + 223 + 34 45 +
Depends on the expected data and required result, the presence of the /g operator made me suspect that the above data was likely