<aside>
⚠️ Regex with any \\
will fail upon subsequent saves as a second \\
is added. In the instances below the \\2
at the end will become \\\\2
. Removing the second \\
will make the formula work again.
</aside>
prop("Tags 1") + (or(empty(prop("Tags 1")), empty(prop("Tags 2"))) ? format("") : ", ") + prop("Tags 2")
replaceAll(replaceAll(replaceAll(prop("Combined"), "(([a-zA-Z0-9]+),?(?!.*\\2))+", ""), " ", ""), ",", ", ")
replaceAll(replaceAll(replaceAll(prop("Tags 1") + (or(empty(prop("Tags 1")), empty(prop("Tags 2"))) ? format("") : ",") + prop("Tags 2"), " ", ""), "(([a-zA-Z0-9]+),?(?!.*\\2))+", ""), ",", "\\n")
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1649d2f9-1b45-478a-86b4-341fbe27e06f/benny.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1649d2f9-1b45-478a-86b4-341fbe27e06f/benny.png" width="40px" /> By Ben • Latest • Was this helpful? Please consider buying me a coffee. Cheers!
</aside>