<?php if (preg_match('/-([0-9]+)$/', "asd-1132", $matches) === 1) { $num = (int) $matches[1]; print preg_replace('/-([0-9]+)$/', "-$1"."asd", "asd-1132"); }
You have javascript disabled. You will not be able to edit any code.