It seems that you are using the unrecommended and dangerous string concatenation. Try using parameterised queries, something like this:
Dim cmd = new OleDb.OleDbCommand("UPDATE MyData SET RegexString = ?", MyConnection)
cmd.Parameters.AddWithValue( "s", vRegexString)
There are more approaches that are described in documentation.
In case of statements like "UPDATE MyData SET MyColumn = True", you do not have to use parameters. But if it requires a variable value, then string concatenations should be avoided.
In the SQL statement you should use "?" as placeholders, and then add parameters in the same order, using any names.
Thanks again, so it means I can write anything instead of "s"?