変数を置換するための正規表現パターンの記述についてサポートが必要です。
解析用の入力データ
文字列:
/hello/world/1111/2/3/4
/hello/world/2222/2/3/4
/hello/world/3333/2/3/4
/hello/world/3333
/hello /世界/1111
値を置き換える = 一部
アウト
/hello/world/some/2/3/4
/hello/world/some/2/3/4
/hello/world/some/2/3/4
/hello/world/some
/hello/world/some