if ($answer_counter == 1): ?>
endif; ?>
$ cat test.txt
[Data_Foundation.WF:wf_STG_SIM_RKEM_RKEMMOVE]
$Param_Object_Name=RKEMMOVE
[Data_Foundation.WF:wf_STG_SIM_RKEM_RKEMEQBC]
$Param_Object_Name=RKEMEQBC
[Data_Foundation.WF:wf_STG_SIM_RKEM_RKEMEQCM]
$Param_Object_Name=RKEMEQCM
[Data_Foundation.WF:wf_STG_SIM_RKEM_RKEMLMOV]
$Param_Object_Name=RKEMLMOV
$
$ echo ${VAR}
EFG
$
$ sed "s/.*\(\.*WF.*$\)/\[$VAR./" test.txt
[EFG.WF:wf_STG_SIM_RKEM_RKEMMOVE]
$Param_Object_Name=RKEMMOVE
[EFG.WF:wf_STG_SIM_RKEM_RKEMEQBC]
$Param_Object_Name=RKEMEQBC
[EFG.WF:wf_STG_SIM_RKEM_RKEMEQCM]
$Param_Object_Name=RKEMEQCM
[EFG.WF:wf_STG_SIM_RKEM_RKEMLMOV]
$Param_Object_Name=RKEMLMOV