P
Peter Proost
Hi group I'm searching for a regex to retrieve the values from between
the brackets.
For example if I've got this text:
({CP-2} x {EDP-2}) / 1000 = {KGP-2} = f
Prix de base = f + VA (fixe jusqu’au {TWD})
= {KGP-2} + {TW} = {(KGP-2) + TW}
I would like to get
{CP-2}
{EDP-2}
{KGP-2}
{TWD}
{KGP-2}
{TW}
{(KGP-2) + TW}
I thought I could do it with this regex: new Regex("{.*}") but it
doesn't work as I expected.
All tips are welcome
Greetz,
Peter
the brackets.
For example if I've got this text:
({CP-2} x {EDP-2}) / 1000 = {KGP-2} = f
Prix de base = f + VA (fixe jusqu’au {TWD})
= {KGP-2} + {TW} = {(KGP-2) + TW}
I would like to get
{CP-2}
{EDP-2}
{KGP-2}
{TWD}
{KGP-2}
{TW}
{(KGP-2) + TW}
I thought I could do it with this regex: new Regex("{.*}") but it
doesn't work as I expected.
All tips are welcome
Greetz,
Peter