Perl- 刪除特殊字串, 保留其它內容

匿 匿名 613 次瀏覽 0 個回答

各位高手, 先進
perl regexp小弟搞半天還是不太能掌握

如下行內容 - ($line)
(582): truncated value with size 8 to match size of target (7)

想變成 - ($line_temp)
: truncated value with size 8 to match size of target (7)

該如何撰寫code

基本上想刪除的內容是括號內任意0~9數字, 位元數不一定
想留下的內容是括號後面的(可能包含大小字母, 數字和特別符號)

萬分感謝~

--
The elevator to success is out of order. You'll have to use the stairs one
step at a time.

像搭電梯般快速成功是不切實際的。你必需沿著樓梯,一步一階的往上爬。

Joe Girard

--

我要回答

0 個回答

還沒有人回答,你知道答案嗎?

我要回答

登入會員後即可回答問題。

免費註冊