Hello Mukesh,
There are many algorithm available in system, as i'm able to recall like 020 for document number number search or check number etc.
You can try with any of those, but the point what details you are getting in bank statements example( check number or document etc) based on these criteria you can configured the system to clear the bank sub ledger account.
Regards,
Jain