generate ip scheme brackets

From: (bishop...)

Greetings

I have the following string. 192.168.1.[1-254]
where I would like to create a list like the following separated by commas
192.168.2.[1-254],192.168.3.[1-254],192.168.4.[1-254] etc....

Any suggestions please?

Share |