Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Eclipse の検索と置換機能を使用して、1 行の文字列を検索し、それを複数行の文字列に置き換えました。\n と /n を使用して新しい行を挿入しようとしています。
検索を実行する前に、[正規表現]ボックスがオンになっていることを確認する必要があります。次に、置換ダイアログに「正規表現」ボックスも表示されます。これをチェックする必要があります。次に、置換文字列で新しい行文字「\n」を使用して新しい行を区切ります。
例:
<!-- Google Analytics -->\n <script type="text/javascript">\n code\n