Porting Patches / Cheats Between Regions and Versions

How to use instruction pattern matching to port game patches and cheats between regions and versions