ROWS: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Das Modell AB0FF2DE23 ist in Reparatur Das Modell AB0FF2DE23_2 ist in Reparatur Das Modell AB0FF2_DE23 ist in Reparatur Das Modell AB0FF2_DE23_2 ist in Reparatur
Execution Time(sec.): 0.000019 Raw Match Pattern: ([A-Z]{2}\d|\d{3}|[A-Z]{3})([A-Z]{4}|[A-Z]{2}\d{1,2}|\d{3}|[A-Z]{3})(_)?([A-Z]\d{3}|[A-Z]{1,3}\d{2}|[A-Z]{3}\d|[A-Z]{4}|\d{3})?(_2)? Raw Replace Pattern: \1 \2 \4\5 PHP Code Example: <?php $sourcestring="your source string"; echo preg_replace('/([A-Z]{2}\d|\d{3}|[A-Z]{3})([A-Z]{4}|[A-Z]{2}\d{1,2}|\d{3}|[A-Z]{3})(_)?([A-Z]\d{3}|[A-Z]{1,3}\d{2}|[A-Z]{3}\d|[A-Z]{4}|\d{3})?(_2)?/','\1 \2 \4\5',$sourcestring); ?> $sourcestring after replacement: Das Modell AB0 FF2 DE23 ist in Reparatur Das Modell AB0 FF2 DE23_2 ist in Reparatur Das Modell AB0 FF2 DE23 ist in Reparatur Das Modell AB0 FF2 DE23_2 ist in Reparatur