You can fill in the whole form with one action if you
use <TAB> in "Text to type" input field. It acts as you
actually pressed TAB button on keyboard. You can even
use <RETURN> at the end of form filling to submit form
data - it acts as if you pressed ENTER button on keyboard
to submit the whole form data.
Regex match multiple groups
-
Hi
I'm trying to extract urls from variable and i tried regex
^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+)Here example link:
https://regex101.com/r/cusF8m/1I tried both blocks in BAS "Extract all data" and "First Match" and both gives first matched url, how i can get all matched urls like in example link?
-
@gudolik said in Regex match multiple groups:
Hi
I'm trying to extract urls from variable and i tried regex

-
@Fox said in Regex match multiple groups:
@gudolik said in Regex match multiple groups:
Hi
I'm trying to extract urls from variable and i tried regex

Reason i ask for regex because i dont need http/https and URI just domains like
example.com sub.example.com -
@gudolik said in Regex match multiple groups:
Reason i ask for regex because i dont need http/https and URI just domains like
The domain, if anything, could be removed later... In the action "Exctract all data" the flag "multi line" is disabled, if you turn it off in your example, it will find only one match:
https://regex101.com/r/kUqEJr/1
In order for your regular expression to work, you need to enable the "multi line" flag
(?m)^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+)