線ではなくダーシ「─」を使い、検索と置換で数字とダーシの位置を替える

下の記事の続きです↓

問題のキャプションを、

数字とスペースとダーシ「─」の組み合わせに変更します。

数字とスペースとダーシ

検索と置換で、数字とダーシの位置替えできます。

検索文字列→(\d.+)(~3)(─)

置換文字列→$3$2$1

数字とダーシを入れ替える

完璧ではないかもしれませんが、次回、役立つと思います。

“線ではなくダーシ「─」を使い、検索と置換で数字とダーシの位置を替える” への1件の返信


  1. Warning: Undefined array key "images" in /home/typeface/dtp.to/public_html/design44/wp-content/plugins/comment-image/plugin.php on line 29

    OK!
    覚えておくと他でも応用できそうです

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA



Warning: Undefined array key "images" in /home/typeface/dtp.to/public_html/design44/wp-content/plugins/comment-image/plugin.php on line 95

Optionally add an image (JPEG・JPG・GIF・PNG only)


Warning: Uninitialized string offset 0 in /home/typeface/dtp.to/public_html/design44/wp-includes/class-wp-query.php on line 3863