Extract/Select text between horizontal rules or other separators (Not headings)

What I’m Trying to Do

Use a command/script/plugin or workaround to quickly select/extract all the content that’s between the closest separators/horizontal rules “—”. If alternative separators ( ***___ - - -*** _ _ _) are necessary to avoid conflict with properties that’s okay too.

Things I Have Tried

Plugins:

Scripts:

  • Several JavaScript scripts generated by AI and executed via Templater, QuickAdd or Note Toolbar.

Any of the above mentioned achieved what I’m looking for: “select/extract all the content that’s between the closest separators/horizontal rules”.

Selection on mobile it’s painful so any workaround/idea is welcomed.

TIA

Maybe this? GitHub - atait/obsidian-expand-selection: Obsidian plugin to expand your editor selection to lines, sections (recursive), or the entire note · GitHub

Unfortunately, doesn’t do what I’m looking for.

And It’s mentioned in post 1: