Jump to content
SubSpace Forum Network

lightbender

Member
  • Posts

    18
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Zone
    SSCX Chaos
  • Squad
    Local 107

lightbender's Achievements

Newbie

Newbie (1/14)

  1. 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.
×
×
  • Create New...