For example, I have a string = "ABCDEFGHIJKLMN"
If the string contains this pattern "DEF?" (i.e. DEF follows by any single character). I will substitute it with an empty string.
The value of the string will be "ABCGHIJKLMN" (the four characters DEF? shall be replaced)
How can I do this in VB.NET? Please advise. Thanks.