Replacement::add( '/\[copiable\](.+?)\[\/copiable\]/si', function ($match) { $clean = trim(str_replace(["
", "
"], "", $match[1])); return '' . $clean . ''; } );