Notepad++中的正則_替換匹配串中的字符

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.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章