Gatling Regex Issue

Hi,

I have following in my html page source

TEST800083

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

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

Hi

Try to use this one in regex :

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