title: For Postman test script match string with regex
body: <p>Postman response is as below:
  '''{
  &quot;error&quot; : &quot;validation error at #/test/TC_1594792360026/test&quot;
  }'''</p>
  <p>I would like to verify this error message string. Digits are changed every time so I want to use it regex for that. I think regex [0-9]+ should work. But I don't know how to frame it in Postman.</p>
  <p>I am using it in postman as below:
  str t = &quot;validation error at #/test/[0-9]+/test&quot;;</p>
  <p>pm.expect(t).match(jsonData.error)</p>
  <p>and Postman throws an error as &quot;TypeError: e.exec is not a function&quot;</p>