cms icon indicating copy to clipboard operation
cms copied to clipboard

请问replace参数怎么替换英文逗号?

Open paynehsu opened this issue 1 year ago • 2 comments

image

上面是官方文档,英文逗号被用于分隔符,但是我需要替换字段中的英文逗号,该怎么写或怎么转义逗号?

{content.tagNames replace="/[,]/" to=" "}

例如上面替换tagNames中的逗号为空格,试过正则转义不行。

paynehsu avatar Jun 27 '23 06:06 paynehsu

好像不支持英文逗号的替换哦,我们研究一下

starlying avatar Jun 28 '23 01:06 starlying

image 试一下

fsea avatar Jul 21 '23 10:07 fsea