<?php $path = 'categories_1_sub_010_subsub_42_field'; echo preg_replace('/_(\d+)_/', '[$1].', $path);
You have javascript disabled. You will not be able to edit any code.