2006-02-01 文字列から数値だけを取得する .NET Regex regex = new Regex( "[^0-9]+" ); String test = "1234-567- 3333"; String retrunString = regex.Replace( test, "" );