3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $srcTxt = " |title= |Row18={{Timeline row |from= |to=2000 |1-text= TYRR consolidation |1-at= 1904 |2-text= TYRR and TFC takeover |2-at= 1927 |3-text= private bus services acquisition |3-at= 1954 |Row18={{Scale row| |from=1840 |to=2000 |increment=40 }} }} "; $srcTxt = preg_replace("/^( )?\|([a-z]+)=$/m", "", $srcTxt); echo ($srcTxt); ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
|Row18={{Timeline row |from= |to=2000 |1-text= TYRR consolidation |1-at= 1904 |2-text= TYRR and TFC takeover |2-at= 1927 |3-text= private bus services acquisition |3-at= 1954 |Row18={{Scale row| |from=1840 |to=2000 |increment=40 }} }}