I'm using FoxReplace Firefox extension to enhance forum usage such as creating BBCODE image lists.
Abstractly speaking i have:
I want to covert it to:
I've found this Regex line that i believe it satisfies the condition but i can't make it to work:
I believe this one isn't easy to figure out, any tips or suggestions will be immensely appreciated!