How to parse this token correctly
Hello, how to parse this token correctly?, I need to grab the csrf-token value. Thanks.
<meta content="authenticity_token" name="csrf-param" /> <meta content="uQHE/baNTauJr/NgMy9K24mACT5Y3QgIqe2HrdXuLLs=" name="csrf-token" />
SickSunny last edited by
Go to blocks click PARSE in Var/cap name type token
Click LR , in Left String Box type content="
And for right string box type " name="csrf-token" />
its easy just put left and rights whats you want
hope you understand
@SickSunny thanks for your reply, but this kind of token does not work like that, because there are two same value - <meta content="
I've already tried
then capture more on the left site include this one too
<meta content="authenticity_token" name="csrf-param" />
@Itamai yes, but the problem is that we cannot put a line break \n in the Left and Right string.
how I transform this to Use Regex?, I think it is the only way to capture this token correctly
eta content="authenticity_token" name="csrf-param" \/>\n<meta content="(.*)" name="csrf-token" \/>
try this with output 
@Itamai it works, thanks you.