Anamaria, I'll just add another "see an attorney" to all of the others here. Real estate contracts are extremely complex - especially those with multiple conditions or clauses. There will be many factors to consider, and the answer might not be so cut and dry. As others have said, an expired extension could mean that the contract is void. But real estate agents are not attorneys. SEE AN ATTORNEY.
Also, you should know ahead of time that if there is a dispute between seller and buyer regarding the escrow deposit, the broker escrow agent cannot simply decide who has the right to the money. This issue is very clearly laid out in real estate laws and regulations. There are several different avenues used to determine who keeps it - and one of those is litigation. So... again, consult an attorney to protect yourself and your investment.
Best of luck to you in your situation. This kind of thing is never fun.
Of course, if you would like assistance when you re-start your property search, please give us a call. We'd be happy to help. We live, work and are active real estate investors in Hollywood and the surrounding area.
All the best,
Vivian & Keith Harmeyer
Ace Realty & Investments