Subject:

Pattern:

Function:

preg_match()
preg_match_all()
preg_split()
Use PREG_OFFSET_CAPTURE
Use PREG_SPLIT_DELIM_CAPTURE

Output: