2 captures formed by a set of blocks

Hello everyone,
I have a config made up of 2 captures called BILLINGINFORMATION since it can be different. If there is the first, there is not the second and if there is the second, there is not the first. I needed your help to make the jump using Lolicode and to act the necessary blocks to obtain the necessary capture. These are the codes of 2 captures formed by a set of blocks:

SET OF BLOCKS1

BLOCK:Parse
LABEL:BILLINGINFORMATION1811
input = @data.SOURCE
leftDelim = “"billingInformationMessage": "”
rightDelim = “(strong).”
MODE:LR
=> VAR @BILLINGINFORMATION1811
ENDBLOCK

BLOCK:Replace
LABEL:BILLINGINFORMATION1822
original = @BILLINGINFORMATION1811
toReplace = “(strongDate)”
=> VAR @BILLINGINFORMATION1822
ENDBLOCK

BLOCK:Replace
LABEL:BILLINGINFORMATION1823
original = @BILLINGINFORMATION1822
toReplace = “\n\n”
replacement = ". "
=> VAR @BILLINGINFORMATION1823
ENDBLOCK

BLOCK:Replace
LABEL:BILLINGINFORMATION1824
original = @BILLINGINFORMATION1823
toReplace = “(strong)”
=> CAP @BILLINGINFORMATION1824
ENDBLOCK

SET OF BLOCKS2

BLOCK:Parse
LABEL:BILLINGINFORMATION181
input = @data.SOURCE
leftDelim = “"billingInformationMessage": "”
rightDelim = “(strongDate)",”
MODE:LR
=> VAR @BILLINGINFORMATION181
ENDBLOCK

BLOCK:Replace
LABEL:BILLINGINFORMATION182
original = @BILLINGINFORMATION181
toReplace = “\n\n”
replacement = ". "
=> VAR @BILLINGINFORMATION182
ENDBLOCK

BLOCK:Replace
LABEL:BILLINGINFORMATION
original = @BILLINGINFORMATION182
toReplace = “(strong)”
=> CAP @BILLINGINFORMATION
ENDBLOCK

In this case the best would be to initialize the variable to an empty string with the Constant String block and then use IF statements to assign a value to the variable depending on some string being present on the page.