Привет. Я пытаюсь захватить первый пробел перед первым {
для каждой строки, которая начинается с add
:
add {"id":1,"last":"Doe","first":"John","location":{"city":"Oakland","state":"CA","postalCode":"94607"},"active":true}
add {"id":2,"last":"Doe","first":"Jane","location":{"city":"San Francisco","state":"CA","postalCode":"94105"},"active":true}
{(?<=\W)
. Я застрял на данный момент.