Trying to do a search but when it encounters the first upper case search it changes both so I end up with both being uppercase .
Dim rg as New RegEx
Dim ro As New RegExOptions
ro.CaseSensitive = True
rg.Options = ro
rg.searchPattern = "[\\w]"
myMatch = rg.search(app.textArray(i))
if myMatch <> nil then
app.textArray(i) = app.textArray(i).replaceAll(""," ")
end if
rg.searchPattern = "[\\w]"
myMatch = rg.search(app.textArray(i))
if myMatch <> nil then
app.textArray(i) = app.textArray(i).replaceAll(""," ")
end if