I need to create a regex for template processing here is what I want,
The template contains
[Author], [Title] has been submitted.
[Staff]
the regex replaces [Author], [Title] and [Staff] with their respective variables in the in script.
Actually, cant you use str_replace() for that sort of simple substitution?
Possibly, but I'd like the reg_ex to do it so I can just feed it through an existing oo template processor.