Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下のように、スペースと二重引用符を含む文字列の入力があります。
入力:
18 17 16 "Arc 10 12 11 13" "Segment 10 23 33 32 12" 23 76 21
期待される出力:
18 17 16 Arc 10 12 11 13 Segment 10 23 33 32 12 23 76 21
正規表現を使用してこれを行うにはどうすればよいですか? 前もって感謝します
"(.+?)"|(\w+(?=\s|$))
ここをチェック