Hi All,
I want to find all the words enclosed within a {} using a regular expression.
If my string is 'The Insured Addr {Address} is not valid for {Name}',
I want to pull out only 'Address' and 'Name' . I have been trying for couple of hours without success.
Any help is really appreciated.
I tried ([/{]([a-zA-Z0-9 ]*)[}])
This does not work.
I am using C#. Also the templates can contain dot notated properties as in 'Address.city','ABC.PQR.XYZ'