Great thanks, the bearing did indeed come away with the casing so I just need to get a large socket and gently push it out.
Where did you get your new bearing from?
I got the bearing from e-bikeshop , though they will only sell you a bearing if you actually bought the bike from them. As mentioned earlier in the thread also get the plastic auxiliary seal.
Further to my previous message, as the bearing is still in the housing don't pull the drive shaft out as it should make the eventual reassembly simpler.