Skip to content

Instantly share code, notes, and snippets.

@suppon-osio
Created July 28, 2016 08:40
Show Gist options
  • Save suppon-osio/3583c635f59b0a87c61b9d54a589a0c7 to your computer and use it in GitHub Desktop.
Save suppon-osio/3583c635f59b0a87c61b9d54a589a0c7 to your computer and use it in GitHub Desktop.
段落内の改行を削除してPタグを付ける
<<<REPLACE-REGEXP-SELECTED
\r(?!(\r))
<<<REPLACE-REGEXP-SELECTED
\r+
\r
<<<REPLACE-REGEXP-SELECTED
^
<p>
<<<REPLACE-REGEXP-SELECTED
$
</p>\r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment