Generate random string using Regex

Does anyone know a way to generate a random string following Regex parameters?
The Text Formula field allows for exact and replace but I’ve not found a way to generate. ​

I would like to create a unique identifier using the following regular expression:
^ [A-Z]{3}\d{4}$

Ex: ABC1234

Thanks for the help! This is my first post so sorry if it’s in the wrong place.

Not sure how to do it with Regex but you can use a text formula field and use the random function (e.g. random(7). This will generate an alphanumeric character set that is unique.