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.
大きな XML ファイルがあり、タグを変更する必要があります。
オリジナル:
<MyTag>13/19/59/70/68/32'</MyTag>'
正規表現で欲しいもの:
<MyTag>13,19,59,70,68,32</MyTag>
毎回同じ量の数を取得できれば、それは非常に簡単ですが、8 の数または 5 または 6 またはそれ以下の数を取得できます。
どうすればそれを一度に行うことができますか?