Hi,
I stored a string inside a if statement with $.Scratch.Set "var" "value"
. This works great, but now I want to reuse it outside of the if statement in a replaceRE statement:
`{{ .Content | replaceRE “<div(.|\n)?class=“slides”(.|\n)?>(.|\n)?(.|\n)?(.|\n)*?” ($.Scratch.Get “var”) | html }}
Any ideas how to do this?