include_once($pathToRoot.'header.php');
echo('</div>');
assume you have variations on the above code across hundreds of files, how do you match against the first occurrence of
</div>
after
header.php'
?
assume you have variations on the above code across hundreds of files, how do you match against the first occurrence of
after
? |
|||
|
In the find field:
In the replace (if you what to replace |
|||
|
I don't know that sublimetext2 but the regular expression would look like this:
The first group would be the string between the include and the closing div and the second group would be the closing div itself. |
|||
|