I have regex results like this:
“issuer”:“(.?)".?“month”:(\d+),“year”:(\d+).*?“lastDigits”:”(\d+)
with output
issuer=[1]month=[2]year=[3]lastDigits=[4]
for example parse results like this the results are not fixed and can vary:
[issuer=Visamonth=12year=2023lastDigits=9960, issuer=Mastercardmonth=10year=2022lastDigits=8446
issuer=Discoverymonth=12year=2023lastDigits=9960, issuer=Amexmonth=09year=2027lastDigits=8446]
so that the results become 1 line [ AMEX - 8446 - 09-2027 , DISCOVERY - 9960 12 - 2023 onwards ]