I have a string:
User{self=https:example.com, name=S1234, displayName=Johny B, accountId=null, emailAddress=johny.b@example.com, active=true}'
I try to capture group and get Johny B
in sed.
I have proper regex: displayName=(.*?),
but below sed command return me all string:
's/.*displayName=\(.*?\),/\1/'