I have 100 lines, I want to add 001 at the beginning of the first, 002 at the second, 003 at the third, and so on.
In emacs I can replace   ^   with     \,(format "%03d" (1+ \#))

Is it possible to do something like this in geany? I've read the documentation on regular expressions but I couldn't find a solution.