regex REPLACE Failure



  • When trying this Regular Expression REPLACE “^20…” with “<td>&</td>” .
    That is, surround every occurrence of a line beginning with 20 and the following 2 characters with “<td>” and “</td>” ---- the result, does the “surround” but replaces every “20…” with the character “&” . It should not replace any of the “20…” simply surround them.

    This works, tho, in TEXTPAD.

    Notepad++ v6.3



  • Use $0 instead of &.


Log in to reply