Regular Expressions, C#
I have a large EDI file with many description strings (1000s).

All description strings start with the tag REF*TC** and end with the character ~

I need to find and replace all * that occur between these two tags.

I am including an example of two description strings as they would be found in the file.  As you can see, the first description string contains the * that I'm needing to replace, the second description string doesn't contain any * that are needing to be replaced.

REF*TC**TS: \*\*\*NEED +1" LONG\*\*\*|STORE#: 028~REF*TC**TS: NEED +1" LONG|STORE#: 028~

I am using C#
Regular Expressions, C#
===

I have a large EDI file with many description strings (1000s).

All description strings start with the tag REF*TC** and end with the character ~

I need to find and replace all * that occur between these two tags.

I am including an example of two description strings as they would be found in the file.  As you can see, the first description string contains the * that I'm needing to replace, the second description string doesn't contain any * that are needing to be replaced.

REF*TC**TS: \*\*\*NEED +1" LONG\*\*\*|STORE#: 028~REF*TC**TS: NEED +1" LONG|STORE#: 028~

I am using C#