Grouping and LOD script?

Hello,

Not sure if this is possible, (I know very little about scripting) but I have a scene with many thousands of objects in it, which are named all in order and need to be grouped and have a LOD set added to each one.

The picture attached is a screenshot of just a few of the objects in the Scene Explorer, say for example Class1A-01 & Class1A-01_LOD1 need to be grouped together, and then a Level of Detail (just the one) needs to be added to it. This to be continued by how many objects in each scene.

Is there a script out there that can do this? or a function maybe already in 3ds max that can achieve this? :)
Cheers.

Edit: Moved to Freelancers section, willing to pay for a script if it can be done.

AttachmentSize
3dsmax.jpg74.27 KB