The following code fragment, used to clear the contents of a table cell, throws a null reference exception:
Dim rgxAll as New Regex(".*")
I get the same result if the Regex is ".*." and I avoid replacing the -1 at the end of cell.range.text
This is no longer a problem for me since I should have been using Range.Delete() in the first place, but you may want to look into it.