Text this: Effect of magnetic field on electromagnetic soliton evolution by different pulses