radim24 Posted September 8, 2006 Share Posted September 8, 2006 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. Link to comment https://forums.phpfreaks.com/topic/20124-matching-between-options/ Share on other sites More sharing options...
effigy Posted September 8, 2006 Share Posted September 8, 2006 [b]I've removed your duplicate posts that were added to other topics. If you need help, [u]post a new topic[/u].[/b]Here: [tt]%<option[^>]*>(.+?)</option>%[/tt] Link to comment https://forums.phpfreaks.com/topic/20124-matching-between-options/#findComment-88413 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.