Regex to find a string after the last colon

后端 未结 4 604
滥情空心
滥情空心 2021-01-28 08:34

Here is some sample input:

<210>   DW_AT_name        : (indirect string, offset: 0x55): double
    DW_AT_name        : (indirect string, offset:          


        
4条回答
  •  不知归路
    2021-01-28 09:08

    This regexp ^.*DW_AT_name.*:\s*(.+)$ does the job as just tested on regexplanet.

提交回复
热议问题