Address:
I wanted the robot to copy text after “:” for each point and so that I could have the name in one variable, the surname in another, etc.
Everything works for me until a field after “:” is empty, then it starts reading the data incorrectly.
I would like it to read point by point, despite the empty field, after the “:” sign - what am I doing wrong?
Name: Alex
Surname: XYZ
Address:
Phone number: 555-444-444
Some examples. I need each piece of information after “:” separately. These are employee data, but some fields, such as here and the address, are empty.
I can see you use RegEx to parse the input data.
So I guess you need to correct your RegEx to match your needs.
The best is use one of online RegEx testers where you could simulate different scenarios and validate result.