(hopefully, literally if God wills) both open a wish about the future. inşallah is used constantly and quite secularly — by believers and non-believers alike — and it can also soften a promise you are not certain you can keep.
both mean *for example*. They are interchangeable in meaning; **mesela** is the everyday spoken one and **örneğin** the one you will meet in writing and formal speech.