Hi Fletcher and Chris.
I tried both your methods and they both worked for placing the tags. Then I
used the pattern to sort lines and that worked as well. That is just wild
and awesome!
I'd have sat here a year sorting that out myself. Thank you both.
On Thursday, August 19, 2021 at 2:31:01 PM
On Aug 19, 2021, at 12:20, David J wrote:
> I have a long text that I tagged, I'd like to move those tags up to the end
> of the last line they are under:
Hey David,
I'm thinking something like this:
Find:
\s+((?:#\w+\h*)+)
Replace:
“ \1”
** Without the quotes.
--
Best Regards,
Chris
--
If the tags always start with hash marks then you can find "\s+#" and replace
with " #". Basically you're just replacing whatever white space appears before
each # with a single space.
For sorting you can look at Sort Lines... on the Edit menu. Sort with a pattern
like "#.+" with Entire Match s
I have a long text that I tagged, I'd like to move those tags up to the end
of the last line they are under:
*Original:*
"What another would have done as well as you, do not do it. What another
would have said as well as you, do not say it; what another would have
written as well, do not write i