2020-10-31から1日間の記事一覧
実装の一例としてメモ 例えば,連続する半角スペースに対して2文字目以降をnbspで置き換える場合は以下のようにする. public static string ConsecutiveBlanksToNBSP(string sentense) { Regex re = new Regex(@"(?<= )( )+"); MatchCollection matches = re.…
実装の一例としてメモ 例えば,連続する半角スペースに対して2文字目以降をnbspで置き換える場合は以下のようにする. public static string ConsecutiveBlanksToNBSP(string sentense) { Regex re = new Regex(@"(?<= )( )+"); MatchCollection matches = re.…