开发者

Search and append with regex in Notepad++

I have the following text:

3/1 

I want to amend it 开发者_StackOverflowto be:

3/1 port id


Can't you just do a search and replace for 3/1 replacing it with 3/1 port id?


Find this: (\d+\/\d+)

This means "the group of: 1 or more digits followed by a forward slash followed by 1 or more digits"

Then replace with this: \1 port id

Which means "the first group found followed by the literal text: ' port id'"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜