according to the tsref replacement
comes with a stdWrap as well. so you might wanna try this:
....20 = TEXT
....20 {
replacement {
10 {
search.char = 35
replace.cObject < lib.anzahlNews
}
}
}
but since this above doesn't replace the # in your header text, try applying your second attempt to h2 headlines:
lib.char_replace {
token.char = 35
cObjNum = |*||*| 1 || 2
1.current = 1
2 < .1
}
lib.stdheader.10.2.split < lib.char_replace
lib.stdheader.10.2.split.1.append < lib.anzahlNews
maybe you get this working for all headlines with this:
lib.stdheader.10.setCurrent.split < lib.char_replace
lib.stdheader.10.setCurrent.split.1.append < lib.anzahlNews