L
LBC
I just stumbled across Regular Expressions and am having problems figuring
out how to do the following:
strText = "[Total books]~dc000038~ + [Count of desks]~fa231011~ + [Number of
folders]~rs000923~"
I would like to strip out all the text within the brackets including the
brackets themselves so that the result string would be:
strText = "~dc000038~ + ~fa231011~ + ~rs000923~"
One caveat is that there may be additional square brackets in the string
that are not followed by a "~xx######~" that I would need to keep as part of
the string.
Can anyone help?
Tia,
LBC
out how to do the following:
strText = "[Total books]~dc000038~ + [Count of desks]~fa231011~ + [Number of
folders]~rs000923~"
I would like to strip out all the text within the brackets including the
brackets themselves so that the result string would be:
strText = "~dc000038~ + ~fa231011~ + ~rs000923~"
One caveat is that there may be additional square brackets in the string
that are not followed by a "~xx######~" that I would need to keep as part of
the string.
Can anyone help?
Tia,
LBC