As suggested- read what the rules state.
You cannot expect your tenant to find a new tenant. BUT they are liable for the rent until the lease expires.
If you get a new tenant then they can be released from the agreement. they need to pay costs associated with that.