G
Guest
I have a regular expression for capturing all occurrences of words contained
between {{ and }} in a file. My problem is I need to capture what is between
those symbols. For instance, if I have tags such as {{FirstName}},
{{LastName}}, and {{Address}} placed in the file, I need to be able to
capture the text strings of FirstName, LastName and Address, respectively.
I'm sure it can be done with Regex as easily as finding the locations of all
such tagged items within the file, but I can't figure it out. Any help would
be greatly appreciated.
between {{ and }} in a file. My problem is I need to capture what is between
those symbols. For instance, if I have tags such as {{FirstName}},
{{LastName}}, and {{Address}} placed in the file, I need to be able to
capture the text strings of FirstName, LastName and Address, respectively.
I'm sure it can be done with Regex as easily as finding the locations of all
such tagged items within the file, but I can't figure it out. Any help would
be greatly appreciated.