我在Adobe LiveCycle Designer FormCalc中有以下代码:
if (form1.subform[0].complete_flag.rawValue == "1") then
$.presence = "invisible";
endif
我想用正则表达式或类似的N ++查找/替换来代替上面的代码(转换为JavaScript):
if (form1.subform[0].complete_flag.rawValue == "1") {
this.presence = "invisible";
}
基本上,在一次查找/替换中,替换以下内容:
然后==> {
$。 ==>此
endif ==> }
使用N ++或类似工具可以实现吗?
塔雷克