Find and Replace with unique replacement string

Is there a way to Find and Replace for a batch of drawings and the find string is consistent XXXXX but the replacement string will be unique to each of the drawing?

I am working in Microstation Connect Edition Version 10.15.02.11.