Removing files matching a numeric range regular expression

You can try

rm some-files-with-numbers{0..300}

This will delete:

some-files-with-numbers0

some-files-with-numbers1

some-files-with-numbers2

...

some-files-with-numbers300

I like superuser’s answer, but to add another possibility:

find . -regex './some-files-with-numbers[123]?[0-9]?[0-9]' -delete