I have a question about typing (or programming, or maybe a macro).

Say, I'm writing a text (which can be in any mode, html-mode, cpp-mode, or whatever)

I would like to input like 

chapter 4.1
chapter 4.2
chapter 4.3
...

chapter 4.46

So, it is very tedious. I would rather set up a program or a command that can do this job instantaneously.

Could Emacs do this?

soichi