There is a code:
$a[0]=preg_replace('/Для(\s)/u','для$1',$a[0]); $a[0]=preg_replace('/И(\s)/u','и$1',$a[0]); $a[0]=preg_replace('/Или(\s)/u','или$1',$a[0]); $a[0]=preg_replace('/На(\s)/u','на$1',$a[0]);
The essence of this code is that it inserts the first letter in lower case in the line of text between the interjections. The line is such that all words in it begin with a capital letter.
To write something like this, but this is wrong:
$a[0]=preg_replace('/(На|Для|Или|И)(\s)/u','DownCase($1)$2',$a[0]);
I break my head ..