How to use regexp to extract the digit within { customer:490 } bought a car { car:6441 } : <p>I have a json object with value in this pattern:
{ customer:1501 } bought a car { car:6333 }
How to use regexp to extract the digit of customer and car.
I am very new to regex, I can only extract the string between the curly braces. I am not sure should I do it separately, i.e. extract the string between the curly braces than extract the digits after "customer:" or "car:". Please help</p>
