Extract text from clipboard by heading


#1

Copy a bunch of text into your clipboard (Ctrl+C) and then extract specific text from it according to a heading

{note}
Highlight the following text and copy it (Ctrl+C)

Option_1: http://testurl_1.com
Option_2: http://testurl_2.com
Option_3: http://testurl_3.com

Then run this snippet and choose from the dropdown.
{endnote}

{formmenu: name=Parameter; default=Option_1:; Option_2:; Option_3:}

The result is: {=extractregex({clipboard}, Parameter & " ([\w \S]+)")}