1
Please contact me via [email protected]
を
Please contact me via <email address is blocked>.
私は基本的なstr_replaceを知っているが、出力は、単純に次のようになります:
//output is Please contact me via joe.joey <email address is blocked> email.com
$string = 'Please contact me via [email protected]';
$lookfor = '@';
$replacewith = '<email address is blocked>';
$newstring = str_replace($lookfor, $replacewith, $string);
私は出力になりたいですありがとうございました
ありがとうございます。
これは私の目的のために魔法のように動作し、あなたに感謝します! – 100d