Add in-content code in bulk

Hi guys, is there any way to inject code in content in bulk?

For example, add this code below the third paragraph of every post.