1
<textarea rows="18" cols="80" style="resize:none;">
<?php
$str = str_replace('<br>', '\n', 'some text<br><br>another line of text');
echo($str);
?>
</textarea>
some text\n\nanother line of text
これは私が欲しいの出力です。
some text
another line of text
誰でも問題がわかりますか? ありがとうございます
ありがとうございます –