Dollscult Forum [new] -
The two began to communicate via private messages, discussing the details of the sale and the collector's plans for the doll. Emma couldn't help but feel a sense of excitement and trepidation as she interacted with the collector, who seemed to be hiding behind a veil of secrecy.
Emma took the doll, feeling a sense of gratitude and wonder. As she left the warehouse, she realized that she had stumbled upon something much more valuable than a rare doll – she had discovered a kindred spirit, and a friendship that would last a lifetime. dollscult forum
Upon arriving at the warehouse, Emma was greeted by a figure shrouded in shadows. As her eyes adjusted to the dim lighting, she saw rows upon rows of exquisite dolls on display, each one meticulously restored and presented in a glass case. The two began to communicate via private messages,
Emma's curiosity was piqued, and she decided to respond to the post with a few dolls from her own collection that might fit the collector's criteria. To her surprise, the collector responded almost immediately, expressing interest in purchasing a rare 19th-century German doll that Emma had listed. As she left the warehouse, she realized that
That’s a brilliant tip and the example video.. Never considered doing this for some reason — makes so much sense though.
So often content is provided with pseudo HTML often created by MS Word.. nice to have a way to remove the same spammy tags it always generates.
Good tip on the multiple search and replace, but in a case like this, it’s kinda overkill… instead of replacing
<p>and</p>you could also just replace</?p>.You could even expand that to get all
ptags, even with attributes, using</?p[^>]*>.Simples :-)
Cool! Regex to the rescue.
My main use-case has about 15 find-replaces for all kinds of various stuff, so it might be a little outside the scope of a single regex.
Yeah, I could totally see a command like
remove cruftdoing a bunch of these little replaces. RegEx could absolutely do it, but it would get a bit unwieldy.</?(p|blockquote|span)[^>]*>What sublime theme are you using Chris? Its so clean and simple!
I’m curious about that too!
Looks like he’s using the same one I am: Material Theme
https://github.com/equinusocio/material-theme
Thanks Joe!
Question, in your code, I understand the need for ‘find’, ‘replace’ and ‘case’. What does greedy do? Is that a designation to do all?
What is the theme used in the first image (package install) and last image (run new command)?
There is a small error in your JSON code example.
A closing bracket at the end of the code is missing.
There is a cool plugin for Sublime Text https://github.com/titoBouzout/Tag that can strip tags or attributes from file. Saved me a lot of time on multiple occasions. Can’t recommend it enough. Especially if you don’t want to mess with regular expressions.