Jump to content


Photo

Matching between options


  • Please log in to reply
1 reply to this topic

#1 radim24

radim24
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 08 September 2006 - 02:36 PM

Hi, i need a help.
I have
<option value="1"><h1>title</h1></option>
or
<option value="1"><i><u>title</u></i></option>
or
<option value="1"><P class=i>title</option>


and i need to get the tag <h1></h1> or other tag like <b></b> or <P>.  but the pattern must point that "<option

value=" is before and "</option> " is after the tag.



#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 08 September 2006 - 02:44 PM

I've removed your duplicate posts that were added to other topics. If you need help, post a new topic.

Here: %<option[^>]*>(.+?)</option>%
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users