Retina 0.8.2, 5766 bytes
((\.)|.)*?(?=\w)(\w{10})*(\w*)
2ドル$.4
1>`\.
^0+\B|\.?0*$0*(?<=\..*)$
Try it online! Try it online! Link includes test cases. Explanation: Skips over enough non-letters to reach the next word, then skips over multiples of 10 letters, then counts any remaining letters, and captures any ., outputting the number of remaining letters and any captured .. Edit: Added an extra stage to remove insignificant zeros that don't change the value of the result. Edit: Improved the detection of .s and added an extra stage to remove .s after the first.
Retina 0.8.2, 57 bytes
((\.)|.)*?(?=\w)(\w{10})*(\w*)
2ドル$.4
1>`\.
^0+\B|\.?0*$
Try it online! Link includes test cases. Explanation: Skips over enough non-letters to reach the next word, then skips over multiples of 10 letters, then counts any remaining letters, and captures any ., outputting the number of remaining letters and any captured .. Edit: Added an extra stage to remove insignificant zeros that don't change the value of the result. Edit: Improved the detection of .s and added an extra stage to remove .s after the first.
Retina 0.8.2, 66 bytes
((\.)|.)*?(?=\w)(\w{10})*(\w*)
2ドル$.4
1>`\.
^0+\B|\.?0*(?<=\..*)$
Try it online! Link includes test cases. Explanation: Skips over enough non-letters to reach the next word, then skips over multiples of 10 letters, then counts any remaining letters, and captures any ., outputting the number of remaining letters and any captured .. Edit: Added an extra stage to remove insignificant zeros that don't change the value of the result. Edit: Improved the detection of .s and added an extra stage to remove .s after the first.
Retina 0.8.2, 4857 bytes
((\.)|.)*?(?=\w)(\w{10})*(\w*)(\
2ドル$.?)4
$1>`\.23ドル
^0+\B|\.?0*$
Try it online! Try it online! Link includes test cases. Explanation: Skips over enough non-letters to reach the next word, then skips over multiples of 10 letters, then counts any remaining letters, and captures any ., outputting the number of remaining letters and any captured .. Edit: Added an extra stage to remove insignificant zeros that don't change the value of the result. Edit: Improved the detection of .s and added an extra stage to remove .s after the first.
Retina 0.8.2, 48 bytes
.*?(?=\w)(\w{10})*(\w*)(\.?)
$.23ドル
^0+\B|\.?0*$
Try it online! Link includes test cases. Explanation: Skips over enough non-letters to reach the next word, then skips over multiples of 10 letters, then counts any remaining letters, and captures any ., outputting the number of remaining letters and any captured .. Edit: Added an extra stage to remove insignificant zeros that don't change the value of the result.
Retina 0.8.2, 57 bytes
((\.)|.)*?(?=\w)(\w{10})*(\w*)
2ドル$.4
1>`\.
^0+\B|\.?0*$
Try it online! Link includes test cases. Explanation: Skips over enough non-letters to reach the next word, then skips over multiples of 10 letters, then counts any remaining letters, and captures any ., outputting the number of remaining letters and any captured .. Edit: Added an extra stage to remove insignificant zeros that don't change the value of the result. Edit: Improved the detection of .s and added an extra stage to remove .s after the first.
Retina 0.8.2, 3448 bytes
.*?(?=\w)(\w{10})*(\w*)(\.?)
$.23ドル
^0+\B|\.?0*$
Try it online! Try it online! Link includes test cases. Explanation: Skips over enough non-letters to reach the next word, then skips over multiples of 10 letters, then counts any remaining letters, and captures any ., outputting the number of remaining letters and any captured .. Edit: Added an extra stage to remove insignificant zeros that don't change the value of the result.
Retina 0.8.2, 34 bytes
.*?(?=\w)(\w{10})*(\w*)(\.?)
$.23ドル
Try it online! Link includes test cases. Explanation: Skips over enough non-letters to reach the next word, then skips over multiples of 10 letters, then counts any remaining letters, and captures any ., outputting the number of remaining letters and any captured ..
Retina 0.8.2, 48 bytes
.*?(?=\w)(\w{10})*(\w*)(\.?)
$.23ドル
^0+\B|\.?0*$
Try it online! Link includes test cases. Explanation: Skips over enough non-letters to reach the next word, then skips over multiples of 10 letters, then counts any remaining letters, and captures any ., outputting the number of remaining letters and any captured .. Edit: Added an extra stage to remove insignificant zeros that don't change the value of the result.