how to insert content in a file

hi, i want insert some content at some position in a file .
Please help

I want two things:
1.  how can I find the position, maybe by regx so on,I need some clues
2.  how can I insert content to the position finded in last step




Please sign in to leave a comment.