I am using this match pattern
to find this string
and replace with my own.
Sometimes what happens, this string is not present in file and therefore i can't be searched and replaced, in that condition i want to insert one string of my own
but also have to make sure if string is already present then it should be replaced instead of inserting. because if unproperly done it will leave two strings.
I actually don't know proper syntax to do stream reader and write the thing in vb.net so unsure whether this thing comes under regular expressions or streaming.