Ask a Question

Regexep with JSONPAth Regex Match Assertion : Error with regex expression

SOLVED
astrowalker2013
Occasional Contributor

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. 

1 REPLY 1
astrowalker2013
Occasional Contributor

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 -]+)

 

 

cancel
Showing results for 
Search instead for 
Did you mean: