$textToFind = 'LOGIN PASSWORD DATE ID';
$textToFindArray = explode(' ', $textToFind);
$matchedLines = [];
$lines = file("base.csv");
foreach($lines as $line) {
foreach($textToFindArray as $textToFind) {
if(strpos($line, $textToFind) !== false) {
$matchedLines[] = $line;
}
}
}
print_r($matchedLines);
/ip firewall mangle add action=mark-routing chain=prerouting src-address-list=via_VPN dst-address-list=!via_VPN new-routing-mark=via_VPN
/ip route add gateway=192.168.42.1 routing-mark=via_VPN