Pattern Regex to replace short open tags using sublime:
Find: <\?( )*(?!php)(?!=)(?!xml)(?!mso)
Replace: <?php
It will find only ‘<?’ and they will be replaced by ‘<?php’
Pattern Regex to replace short open tags using sublime:
Find: <\?( )*(?!php)(?!=)(?!xml)(?!mso)
Replace: <?php
It will find only ‘<?’ and they will be replaced by ‘<?php’