I receive a file from an outside party that I have to load into an sql server table. Let me stress that I have no control over the formatting of the files content or any correction of the file if there are characters in it that make it impossible to import (need to say that since that seems to be the suggestion in at least two of the responses on these sort of posts). The file has the following line:
TC20090616177 020 177 ?FS?BTY70647447407 47447407 ETZKATT075YR01 06 20090700 00000000003528002009051300000002BA G UDGZUSD0000075000000000000150 ?FS?BTY70647447407 G
The problem character is the ?. I have tried using a regex replace on this character and am getting an illegal escape character error from the C# compiler. All I want to do is replace this character with a ?. Can someone give me some suggestions on this item? Any help is appreciated. Thanks.
Dave
TC20090616177 020 177 ?FS?BTY70647447407 47447407 ETZKATT075YR01 06 20090700 00000000003528002009051300000002BA G UDGZUSD0000075000000000000150 ?FS?BTY70647447407 G
The problem character is the ?. I have tried using a regex replace on this character and am getting an illegal escape character error from the C# compiler. All I want to do is replace this character with a ?. Can someone give me some suggestions on this item? Any help is appreciated. Thanks.
Dave