now support multiple prefixes

use a regex to split