separateByRegexStart

separateByRegexStart ( string regex , string _code ) : array

Separate a code by start position of a regex expression.

Parameters

regex

regular expression

_code (optional)

If null it is the page code