To resolve this automation problem, you will have to use regex. There is also a possibility to directly buffer values with a regex verification: You can use regex groups - these will be buffered. If you use named groups, the buffer name will be set according to the group name!
Still no joy? Here's the solution