Recurrent extractregex

Hey @martinhgps

The command you're looking for is extractregexall(). Scott gave a few examples in August Development Update

Try this

{first_names=extractregexall({clipboard}, "Name: (\w+)")}
{second_names=extractregexall({clipboard}, "Name: .+? (.+)")}
{phones=extractregexall({clipboard}, "Phone number: (.+)"); trim=yes}
First Name,Second,Name,Phone
{repeat: for (name, i) in first_names}
{=name}, {=second_names[i]}, {=phones[i]}
{endrepeat}