Regex Replace String List to BBCode Table Rows

Tested with RegexPal and used with Notepad++

String Examples

lot1        green, blue
lot29       -
lot46       purple

Regex

(ml)(\d{1,2})(\s{7,8})([\w,\,,\-,\ ]{1,18})

Replacement

[tr][td]${1}${2}[/td][td]${4}[/td][/tr]