# Check Response body contains Match value

**URL:** <https://community.postman.com/t/check-response-body-contains-match-value/14622>\
**Category:** Help Hub\
**Tags:** tests, help, responseassertion, testscripts\
**Created:** [July 30, 2020, 1:09pm UTC](https://community.postman.com/t/check-response-body-contains-match-value/14622 "2020-07-30T13:09:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [August 5, 2020, 8:19pm UTC](https://community.postman.com/t/check-response-body-contains-match-value/14622/5 "2020-08-05T20:19:23Z")

</div>

You could probably use the same script @odanylewycz mentioned in this post:

> [@Getting a specific content in HTML response](https://community.postman.com/t/getting-a-specific-content-in-html-response/14734/3):
>
> Hi @nguyenvietdungqsq Welcome to the community! clap In addition you can use cheero.js to load the HTML, and parse your results. const response = cheerio.load(pm.response.text(), { ignoreWhitespace: true, xmlMode: true }); const sessionId = response('script').find('sessionId') The above may not working exactly, as I am shooting from the hip, but you can use cheerio to parse through your html and get to your element and then parse out the js from there. However, I will have to agr…

---

_[View the full topic](https://community.postman.com/t/check-response-body-contains-match-value/14622)._
