Thread:Project:Support desk/Search for a new paragraph in the edit box

I would like to insert code after the first paragraph on a page. I'm trying to use javascript, .search to search for a tag but it is returning -1. It doesn't seem to be able to search for show html tags. What can I search for to find the end of a paragraph?