input: "Total payment of xxxx will be credited to Test’s account on vsnk. Thank you.Total payment of xxxx will be credited to Test’s account on 12 September 2022. Thank you. "
i need date i.e 12 September 2022. Their is no fixed string so cannot use look ahead and look behind.
only fixed string is “on” before date. Also date can be in 12th September 2022 format.