View Single Post
Old 05-12-2023, 03:22 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,832
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
Use template as the source field, (^.*$) as the search field, and \1 as the replacement field. Ensure that the source template produces the answer you want.
Thanks - I 'sort of' tried that, but I got hung up on wanting to use the template in the output, then I wondered if my 'problems' were caused by having the \1 in a bowl of HTML soup.

But I found a different solution that has given me what I want, I used an existing #book-row virtual column whose template is {id} as the search field.

But now at least, I know how template searches are meant to be used.

BR

Last edited by BetterRed; 05-15-2023 at 09:01 PM.
BetterRed is offline   Reply With Quote