Wikipedia talk:WikiProject International relations/Bilateral relations task force/Articles

Word advanced find and replace with wildcards
Find:

2009^p* ^13   * (*) relations^13(*)2009 2009^13   * (*) relations^13(*)2009

Replace: 2009^p* ^p*[[\1 relations^p ^p*\1 relations^p

add section headers using Find and replace with wildcards
Find:

\*\[\[Foreign relations of (*)\]\]^13

Replace:

==\1==^p*Foreign relations of \1^p

Ikip (talk) 16:50, 14 May 2009 (UTC)

changing flag/embassies into table
Word find and replace.

Original:


 * *🇬🇷 Greece** Athens (embassy)** Ioannina (Consulate General)** Thessaloniki (Consulate General)

Find:
 * \*\{\{Flag\|(*)\}\}(*)^13

Replace:
 * |---valign=top ^p| \1^p| ^p|^p| \2^p| ^p| ^p| ^p

Final:
 * ---valign=top
 * 🇳🇱 Netherlands
 * ** The Hague (embassy)
 * ** The Hague (embassy)
 * ** The Hague (embassy)

Ikip (talk) 16:24, 17 May 2009 (UTC)

Changing wikilinks into external editing links
Original:
 * *Angola_–_Cape_Verde_relations

Find:
 * \*\[\[(*)\]\]

Replace:
 * *\1

New:
 * *Angola_–_Cape_Verde_relations

Ikip (talk) 00:47, 16 May 2009 (UTC)