It doesn't appear you received a useful answer yet so I'll try to guess what you are trying to do and point you in what may be the correct direction.
It seems you want to extract Firstname and Lastname (each field always followed by a TAB) from one or more lines. I don't think your approach will work but you may get an idea this way. Place these three lines of data in a document as lines 1-3. Fields are separated by tabs.
Run the clip which places the cursor at the first line and finds the first field (Firstname) and second field (Lastname).
The GetReSubStrings line copies found groups 1 and 2 into an array which you can use directly or, as I did, first copy them to individual variables.
If you want to do this for multiple lines, you will have to write the code to loop, add error testing, etc. but I didn't want to get ahead of myself.
Hope this helps.
Joy
Adam Stone ccc
Bob Smith ddd
Charles Walls eee
^!SetListDelimiter ^%SPACE%
^!Jump TEXT_START
^!Find "^([^\t]*)\t([^\t]*)\t" RS
^!SetArray %NameArray%=^$GetReSubStrings$
^!Set %FirstName%=^%NameArray1%
^!Set %LastName%=^%NameArray2%
^!Prompt Dear ^%FirstName% ^%LastName%,
-----------------
I have a find that say looks for this:
^(?<FirstName>[^\t]*)\t(?<LastName>[^\t]*)\t
Basically finds two columns of data separated by a tab (with a following tab).
So I should be able to then insert that in something like:
^!InsertText Dear $<FirstName>,
But it doesn't work.