Generate RegExp for delimiters, to be used with templates, YAML front matter, files or data streams.