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

**URL:** <https://forum.obsidian.md/t/extract-select-text-between-horizontal-rules-or-other-separators-not-headings/113760>\
**Category:** Help\
**Created:** [April 28, 2026, 5:56am UTC](https://forum.obsidian.md/t/extract-select-text-between-horizontal-rules-or-other-separators-not-headings/113760 "2026-04-28T05:56:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![denroj](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/d6d6ee/32.png) [@denroj](https://forum.obsidian.md/u/denroj)\
**Post date:** [April 28, 2026, 5:56am UTC](https://forum.obsidian.md/t/extract-select-text-between-horizontal-rules-or-other-separators-not-headings/113760/1 "2026-04-28T05:56:30Z")

</div>

### 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.

> Solved: "Implemented in [Release v3.35.0 · mnaoumov/obsidian-advanced-note-composer · GitHub](https://github.com/mnaoumov/obsidian-advanced-note-composer/releases/tag/3.35.0) "
> 
> [[FR] Extract between Horizontal Rules '---' or other separators · Issue #113 · mnaoumov/obsidian-advanced-note-composer · GitHub](https://github.com/mnaoumov/obsidian-advanced-note-composer/issues/113#:%5C~:text=Implemented%20in)

### Things I Have Tried

Plugins:

- text transporter - [https://forum.obsidian.md/t/beta-obsidian42-text-transporter-plugin/23934](https://forum.obsidian.md/t/beta-obsidian42-text-transporter-plugin/23934)

- advanced note composer - [Plugin: Advanced Note Composer](https://forum.obsidian.md/t/plugin-advanced-note-composer/98856)

- copy section - [copy section](https://github.com/skztr/obsidian-plugin-section-copy)

- expand-selection - [expand-selection](https://github.com/atait/obsidian-expand-selection)

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

---

<div class="post-metadata">

**Author:** ![maciej1](https://forum.obsidian.md/user_avatar/forum.obsidian.md/maciej1/32/79353_2.png) [@maciej1](https://forum.obsidian.md/u/maciej1)\
**Post date:** [April 28, 2026, 8:45am UTC](https://forum.obsidian.md/t/extract-select-text-between-horizontal-rules-or-other-separators-not-headings/113760/2 "2026-04-28T08:45:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![denroj](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/d6d6ee/32.png) [@denroj](https://forum.obsidian.md/u/denroj)\
**Post date:** [April 28, 2026, 9:09pm UTC](https://forum.obsidian.md/t/extract-select-text-between-horizontal-rules-or-other-separators-not-headings/113760/3 "2026-04-28T21:09:42Z")

</div>

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

And It’s mentioned in post 1:

> [@denroj](#):
>
> expand-selection - [expand-selection](https://github.com/atait/obsidian-expand-selection)

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [July 27, 2026, 9:09pm UTC](https://forum.obsidian.md/t/extract-select-text-between-horizontal-rules-or-other-separators-not-headings/113760/4 "2026-07-27T21:09:59Z")

</div>

Closed on July 27, 2026, 9:09pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
