You can usually sell dollars to the bank and convert them to Egyptian pounds if the service and account allow it.
Check the purchase price and fees; if you need dollars soon, a round-trip conversion could cost you twice the exchange rate.
The figures, fees and limits in this answer vary by bank and change over time — confirm them with your bank or the official source before acting.