I need a RegExp pattern, but i don't know how to write one?

I want to find all sections in an inifile.

Strings like those:

[5636]

[2246]

[1264]

thx.