These regular expression came in handy recently – they’re not perfect, in particular a couple of the second grouping need to be more greedy – but I did the migration first time through so didn’t get to improve them.
Find: Assert.That((.+?), Is.EqualTo((.+?)))
Replace: Assert.Equal($2, $1)
Find: Assert.That((.+?) == (.+?))
Replace: Assert.Equal($2, $1)
Find: Assert.That((.+?), Is.StringContaining((.+)))
Replace: Assert.Contains($2, $1)
Find: Assert.That((.+?).Contains((.+)))
Replace: Assert.Contains($2, $1)
Find: Assert.That((.+?), Is.GreaterThanOrEqualTo((.+)))
Replace: Assert.True($1 >= $2)
Find: Assert.That((.+?), Is.Not.Null)
Replace: Assert.NotNull($1)
Find: Assert.That((.+?), Is.Null)
Replace: Assert.Null($1)
Find: Assert.That((.+?), Is.True)
Replace: Assert.True($1)
Find: Assert.That((.+?), Is.False)
Replace: Assert.False($1)