Based on the revised description, this will capture characters 11 to 25 in two separate groups, split on (and not including) the dash. A leading 10 digit field and trailing 12 digit field are discarded.
\d{10}(\d+)-(\d+)\d{12}
If in the future you needed to also capture the leading and trailing fields in their own groups:
(\d{10})(\d+)-(\d+)(\d{12})
If you want you can remove the zero padding on the account number by matching zero or more leading zeros:
(\d{10})0*(\d+)-(\d+)(\d{12})
(These solutions assume the lengths of the first and last fields are fixed.)