Layer7 API Management

Expand all | Collapse all

regx api g

Jump to Best Answer
  • 1.  regx api g

    Posted 07-05-2018 08:27 PM

    Hi There,

    Could you pls advice what could be the reg Expression to extract the following  "Gender":"Male"  I've tried with something like the following ("Gender":)(.*) but it extracts mobile no too.


    "username": "",
    "email": "",
    "mobile": "3233223222"

  • 2.  Re: regx api g
    Best Answer

    Posted 07-05-2018 08:41 PM

    if you want to mask the gender, try this,

  • 3.  Re: regx api g

    Posted 09-27-2018 10:28 PM

    The regular expression provided will get what you want. Also you can look to use the JSON Path assertion as well.




    Stephen Hughes