We have,
limx→0ex−1−xx2
This is the 00 form.
So, apply L-hospital
limx→0ex−0−12x
limx→0ex−12x
limx→0ex−02
=e02
=12
Hence, this is the answer.