Answer the question
In order to leave comments, you need to log in
How to properly split a string using preg_split()?
There is a line
текст текст текст {{любой_нужный_текст}} текст
текст текст текст {{еще_любой_нужный_текст}}текст текст {{еще_сколько_угодно_раз_нужный_текст}}
текст текст
[
0 => 'любой_нужный_текст',
1 => 'еще_любой_нужный_текст',
2 => 'еще_сколько_угодно_раз_нужный_текст',
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question