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.
次のような紛らわしい名前があるとしましょうXX_10231_11_32-33-23_jsv.doc
XX_10231_11_32-33-23_jsv.doc
そのファイル名から 11 だけを抽出するにはどうすればよいですか?
私は現在使用しています
filename.split("_", 3)[2];
過去 11 をすべて抽出します。