Dear all.

I have some text with selected phrases marked within asterisks ("*") because org-mode syntax helps to visualize them inside the text, and I'd like to extract those phrases to another buffer.

As I understand after some searching, one way is to use occur.

However, I'm struggling (to say it lightly) to find a working regex for this occurrence that is "whatever is between asterisks". I tried txt2regex but no success still...

Does anyone knows a way to do this; or been in this situation and found a different approach? My lisp/regex fu is very much near the bottom, but I'm happy to learn.

As always, thanks a lot for your time and attention. :)

Best regards...

PD: I'm thinking about ways to do semantic analysis with org-mode. If anyone's interested on this we can arrange some collaboration. :)

submitted by /u/edumerco
[link] [comments]