Regex http://docs.notepad-plus-plus.org/index.php/Regular_Expressionsuse '\n' to get the mathcing groups Example 4Another Search Replace Example [Data] AS AF AFG 004 Afghanistan EU AX ALA 248 Åland Islands EU AL ALB 008 Albania, People's Socialist Republic of AF DZ DZA 012 Algeria, People's Democratic Republic of OC AS ASM 016 American Samoa EU AD AND 020 Andorra, Principality of AF AO AGO 024 Angola, Republic of NA AI AIA 660 Anguilla AN AQ ATA 010 Antarctica (the territory South of 60 deg S) NA AG ATG 028 Antigua and Barbuda SA AR ARG 032 Argentina, Argentine Republic AS AM ARM 051 Armenia NA AW ABW 533 Aruba OC AU AUS 036 Australia, Commonwealth of
Final Data: AS,AF,AFG,004,Afghanistan EU,AX,ALA,248,Åland Islands EU,AL,ALB,008,Albania, People's Socialist Republic of AF,DZ,DZA,012,Algeria, People's Democratic Republic of OC,AS,ASM,016,American Samoa EU,AD,AND,020,Andorra, Principality of AF,AO,AGO,024,Angola, Republic of NA,AI,AIA,660,Anguilla AN,AQ,ATA,010,Antarctica (the territory South of 60 deg S) NA,AG,ATG,028,Antigua and Barbuda SA,AR,ARG,032,Argentina, Argentine Republic AS,AM,ARM,051,Armenia NA,AW,ABW,533,Aruba OC,AU,AUS,036,Australia, Commonwealth of |
Windows >