hi ... there is a lot of suggestions out there, so i have mine
i can't show the result here because is not installed, but you got the point ... and it works!
... i think it is easier since you dont have to fill so [tr][/td][/tr] codes ... i achieved this with 3 custom mycodes (copy just text inside quotes)
TABLE
priority = first of the series
search = "\[table\](.*?)\[/table\]"
replacement = "<table border='1' cellspacing='0' cellpadding='4'>$1</table>"
DATA
priority = next
search = " *?\[td\] *?" (note space before asterisks)
replacement = "</td><td>"
ROW
priority = next
search = "</td>(.*?)(\n)"
replacement = "<tr>$1</td></tr>$2"
[table]
[td]NAME [td]AGE [td]GENDER
[td]Andy [td]21 [td]male
[td]Rose [td]53 [td]female
[/table]
i can't show the result here because is not installed, but you got the point ... and it works!
... i think it is easier since you dont have to fill so [tr][/td][/tr] codes ... i achieved this with 3 custom mycodes (copy just text inside quotes)
TABLE
priority = first of the series
search = "\[table\](.*?)\[/table\]"
replacement = "<table border='1' cellspacing='0' cellpadding='4'>$1</table>"
DATA
priority = next
search = " *?\[td\] *?" (note space before asterisks)
replacement = "</td><td>"
ROW
priority = next
search = "</td>(.*?)(\n)"
replacement = "<tr>$1</td></tr>$2"