mghelp

preg split text in 3 teile

geschlossengelöstFragePHPEntwicklung
$reg_muster = (txt + wort als trennung + txt);

$zerlegt = preg_split ( $reg_muster , $row[text] );

$zerlegt ist das array 3 teile


Ausgabe
array( ->text 1 [1] suchwort [2] text2)


Ich brauche nur $reg_muster das ist mir zu hoch face-smile

Danke für Hilfe
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 91396

Url: https://administrator.de/forum/preg-split-text-in-3-teile-91396.html

Ausgedruckt am: 18.05.2025 um 22:05 Uhr