var r = /.*\[quote( name=('|").*('|"))?( date=('|").*('|"))?\].*\[\
is close, however, the match data comes up wrong:
example:
[quote name='b' date='n']test1[quote name='c' date='m']test2[/quote]this
$1 is:
name='b' date='n']test1[quote name='c' date='m'
Also, i need to know what is b/w the quote tags... so something like this?
var r = /.*\[quote( name=('|").*('|"))?( date=('|").*('|"))?\](.*)?
when i do that, $3 is:
b' date='n']test1[quote name='c' date='m'
Main Topics
Browse All Topics





by: Lolly-InkPosted on 2008-08-04 at 21:33:18ID: 22158162
Try this:
Select allOpen in new window