I have a lot of data that has certain start and end "delimiters" that surround key words. I want to eliminate the delimiters and "replace" them with an indication that this was done after the delimited word. This is easier to explain with an example. If I encounter the following string:
"...the keyword is DELIM=START foobar DELIM=END in this sentence..."
I want to end up with:
"...the keyword is foobar* in this sentence..."
In this case the start and end delimiters are "DELIM=START" and "DELIM=END" and the "indicator" is an asterisk. The sandr should strip those out and put the asterisk after the delimited word, in this case "foobar".
FYI, there will always be just a single word (i.e., a string with no spaces) between the start and end delimiters.
Thanks for the help.
"...the keyword is DELIM=START foobar DELIM=END in this sentence..."
I want to end up with:
"...the keyword is foobar* in this sentence..."
In this case the start and end delimiters are "DELIM=START" and "DELIM=END" and the "indicator" is an asterisk. The sandr should strip those out and put the asterisk after the delimited word, in this case "foobar".
FYI, there will always be just a single word (i.e., a string with no spaces) between the start and end delimiters.
Thanks for the help.