# Gatling Regex Issue

**URL:** <https://community.gatling.io/t/gatling-regex-issue/4186>\
**Category:** Gatling (Open-Source)\
**Created:** [February 19, 2018, 5:16pm UTC](https://community.gatling.io/t/gatling-regex-issue/4186 "2018-02-19T17:16:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kapil](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@Kapil](https://community.gatling.io/u/Kapil)\
**Post date:** [February 19, 2018, 5:16pm UTC](https://community.gatling.io/t/gatling-regex-issue/4186/1 "2018-02-19T17:16:01Z")

</div>

Hi,

I have following in my html page source

[TEST800083](https://community.gatling.io/computers/2376)

First I am trying to capture TEST800083 and defined following check .check(regex("""\>(.\*?)\</a\>\</td\>""").saveAs(“DeleteComputerURL”)))

gatling log file is showing following value extracted for this

DeleteComputerURL → [TEST800083),1519059947642,23,KO](https://community.gatling.io/computers/2376)

[ 

Please can you advice what’s wrong in my regex and why it’s not capturing value TEST800083 only as per my regex definition ?

 

Regards

](https://community.gatling.io/computers/2376)

---

<div class="post-metadata">

**Author:** ![khaled.alrimawi7](https://avatars.discourse-cdn.com/v4/letter/k/7c8e57/32.png) [@khaled.alrimawi7](https://community.gatling.io/u/khaled.alrimawi7)\
**Post date:** [February 21, 2018, 3:51pm UTC](https://community.gatling.io/t/gatling-regex-issue/4186/2 "2018-02-21T15:51:12Z")

</div>

Hi

Try to use this one in regex :

.check(regex(""\>(.+?)\<\/a\>\<\/td\>").saveAs(“DeleteComputerURL”)))
