Unfortunately a RexEx will not accomplish this. However, we do have a very robust API within ImportOmatic (it's free!) that could possibly accomplish this task. Do you have a programmer on your staff? If so, have that person check out the API documentation to get them started:
If not, we have some talented staff that could help research this with you based on your desired outcomes.
Please let us know if we can help in any way!