I can't seem to make a regular regex for bbCode List parsing:
e.g. when having with input:
(without spaces) (where [ list=1] creates an ordered list starting with 1)Code:[ list=1] [ *]List Item 1 [ *]List Item 2 [ *]List Item 3 [ /list]
I want this output:
Any help is appreciated. ThanksCode:<ol class="numeric"> <li>List Item 1</li> <li>List Item 2</li> <li>List Item 3</li> </ol>![]()




Bookmarks