How do I include the split delimiter in results for preg_split()?
I have this simple pattern that splits a text into periods:
I have this simple pattern that splits a text into periods:
How can I split a string by a delimiter, but not if it is escaped? For example, I have a string: