No. Metaprogramming is for processing Julia syntax/generating julia code at compile time and it almost never involve parsing strings.
It’s not designed to do what you want and you shouldn’t use it. You should just treat this like a normal string parsing problem and find the right tool for that.