Apply Regex.Replace on many same mark

Here's my code:

using System;
using System.Text;
using System.IO;
using System.Text.RegularExpressions;
namespace ConsoleApplication33
{
    class Program
    {
        static void Main(string[] args)
        {
            string line = "\"aaaaa\"" + "aaaaa" + "\"aaaaa\"" + "aaaaa" + "\"aaaaa\"";
            line = Regex.Replace(line, "\".+\"", "");
            Console.WriteLine(line);
            Console.Read();
        }
    }
}

I want get rid of "aaaaa" and keepaaaaa.

So with this string I should get aaaaaaaaaa.

But with the code I get nothing.

So how can I fix this?

2 answers