Regexep with JSONPAth Regex Match Assertion : Error with regex expression
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2022
08:16 AM
08-30-2022
08:16 AM
Regexep with JSONPAth Regex Match Assertion : Error with regex expression
Hi
for a test i need to verify the structure of string .
My string waited are 2 word with a comma in middle like this "totot,tata".
and I need to verify that my JsonPath expression are equivalent with this expression
I test this Regular expression /[a-z]/g,/[a-z]/g but this regex didn't functional.
What is the best Regex used to resolved my issue.
Solved! Go to Solution.
Labels:
- Labels:
-
Assertions
-
Editors
-
Function Tests
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022
05:41 AM
08-31-2022
05:41 AM
I Find the Solution and I Shared with us :
in oder verify the structure I can used this structure
([a-zA-Z-]+), *([a-zA-Z -]+)
