-2

I need to write a regular expression to check the text Price:12-Jun-2017 where date can change.

I am working on SOAPUI at the moment and would like to add a JSONPath RegEx Assertion for checking this text. Can someone help me?

Thanks

Rao
  • 20,781
  • 11
  • 57
  • 77
RRM
  • 23
  • 6

1 Answers1

0

I am sure that ReadyAPI used in your case.

Select the right JsonPath Expression and Regular Expression as below value

Price:\\d{2}-[a-zA-Z]{3}-\\d{4}
Rao
  • 20,781
  • 11
  • 57
  • 77