Custom script in RPA Express

Hello All,

I need some help from you! I would like to do this in a custom script (with groovy):

  1. I would like to select all (Ctrl-A) of current window and put the contents in string variable.

  2. From the variable I would like to extract contents between two characters, say A and B.

Is that possible?

Best Regartds