Sure. Here’s the raw
text:
"It looks like \"Fung-Wong\", \"Mario\", or simply \"Typhoon #16\" will be [making landfall in Japan on Thursday](http://www.jma.go.jp/jp/typh/1416l.html):\n\n![Typhoon 16](/uploads/default/35/4608d96d1b27846f.png)"
And here’s the cooked
text:
"<p>It looks like “Fung-Wong”, “Mario”, or simply “Typhoon <span class=\"hashtag\">#16</span>” will be <a href=\"http://www.jma.go.jp/jp/typh/1416l.html\" rel=\"nofollow noopener\">making landfall in Japan on Thursday</a>:</p>\n<p><div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"/uploads/default/original/2X/0/01bb9fb7e29c2b65fd663cdc58705d1720f8fea7.png\" title=\"4608d96d1b27846f.png\"><img src=\"/uploads/default/original/2X/0/01bb9fb7e29c2b65fd663cdc58705d1720f8fea7.png\" alt=\"Typhoon 16\" width=\"602\" height=\"500\"><div class=\"meta\">\n<svg class=\"fa d-icon d-icon-far-image svg-icon\" aria-hidden=\"true\"><use xlink:href=\"#far-image\"></use></svg><span class=\"filename\">4608d96d1b27846f.png</span><span class=\"informations\">800×664</span><svg class=\"fa d-icon d-icon-discourse-expand svg-icon\" aria-hidden=\"true\"><use xlink:href=\"#discourse-expand\"></use></svg>\n</div></a></div></p>"
These are kind of hard to read when they’re compressed on a single line, so here’s the prettified raw
text:
"It looks like \"Fung-Wong\", \"Mario\", or simply
\"Typhoon #16\" will be [making landfall in Japan on Thursday]
(http://www.jma.go.jp/jp/typh/1416l.html):\n\n
![Typhoon 16](/uploads/default/35/4608d96d1b27846f.png)"
And here’s the prettified cooked
text:
"<p>
It looks like “Fung-Wong”, “Mario”, or simply
“Typhoon <span class=\"hashtag\">#16</span>” will be
<a href=\"http://www.jma.go.jp/jp/typh/1416l.html\" rel=\"nofollow noopener\">
making landfall in Japan on Thursday
</a>:
</p>\n
<p>
<div class=\"lightbox-wrapper\">
<a class=\"lightbox\" href=\"/uploads/default/original/2X/0/01bb9fb7e29c2b65fd663cdc58705d1720f8fea7.png\" title=\"4608d96d1b27846f.png\">
<img src=\"/uploads/default/original/2X/0/01bb9fb7e29c2b65fd663cdc58705d1720f8fea7.png\" alt=\"Typhoon 16\" width=\"602\" height=\"500\">
<div class=\"meta\">\n
<svg class=\"fa d-icon d-icon-far-image svg-icon\" aria-hidden=\"true\">
<use xlink:href=\"#far-image\"></use>
</svg>
<span class=\"filename\">4608d96d1b27846f.png</span>
<span class=\"informations\">800×664</span>
<svg class=\"fa d-icon d-icon-discourse-expand svg-icon\" aria-hidden=\"true\">
<use xlink:href=\"#discourse-expand\"></use>
</svg>\n
</div>
</a>
</div>
</p>"
For what it’s worth, there are quite a few (well over a hundred) posts like this on my site:
[1] pry(main)> Post.where("raw ~* :regex AND cooked !~* :regex", regex: '/uploads/default/[0-9]+/').count
=> 135