<?php var_dump( preg_match_all('/\/social\/add-activity\/(?P<type>\w+)\/(?P<id>\d+)/', '/social/add-activity/history/1783', $matches), $matches );
You have javascript disabled. You will not be able to edit any code.