Hi, Assuming I'm reading this correctly, you want to strip the tags surrounding the tag, right? If that's the case, then you really only need to capture the tag. This particular regular expression may do what you want...note that this uses a quick and dirty method of picking up html tags, and would fail if there were another ">" character inside the tag.
<p[^>]*>(<img[^>]+\/>)<\/p>If this doesn't quite work for you, then you may want to try experimenting with http://regexpal.com/ ...I've found the highlighting to be quite helpful. Hopefully that helped.