in reply to How do you perform this substitution?

Also, please note that the use of a 656 character example string for  $id is just a tad bit extreme!