php - How can I split a list with multiple delimiters? -
Actually, I want to enter text in the text area, and then use them for example
< Pre> variable1: variable2 variable3 variable1: variable2 variable3 variable1: variable2 @ variable3
I know that I use each row an array, and then use each line separately To use a foreach loop, but how do I use to separate the three variables?
try preg_split
Comments
Post a Comment