您的位置:首页 > 其它

Notepad++中的正则_替换匹配串中的字符

2012-06-15 11:26 267 查看
Example. Replace the specified char in the string.

Find what: ([0-9][0-9])\.([0-9][0-9])\.([0-9][0-9])\.([0-9][0-9][0-9])

Replace with: \1:\2:\3:\4

FROM STRING: 03.07.18.109

TO STRING: 03:07:18:109

\1, \2, \3 ... without \0

A number should match a bracket pair.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: