# Login auth in gatling

**URL:** <https://community.gatling.io/t/login-auth-in-gatling/3673>\
**Category:** Gatling (Open-Source)\
**Created:** [April 15, 2017, 5:36am UTC](https://community.gatling.io/t/login-auth-in-gatling/3673 "2017-04-15T05:36:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jothimani](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jothimani](https://community.gatling.io/u/Jothimani)\
**Post date:** [April 15, 2017, 5:36am UTC](https://community.gatling.io/t/login-auth-in-gatling/3673/1 "2017-04-15T05:36:10Z")

</div>

aaa

Hi I would like to extract the token content (in 4th line) and save it in a variable to use it. But I am unable to achieve using Regex too.

Anyone faced the same?

Thanks,  
jay
