Hello all.
I want to inject a HTML tag after original <body>
and I’m using replacements
option for it:
replacements:
- "#~s#<body(.*?)>#<body$1><iframe src='http://localhost:8000'></iframe>"
How can I use matched groups in regex so that I can replay original body
attributes?
Or is there a better way?