<?php
function From_main_table ($positon,$from_arr){
$arr_place = [];
for ($i=$positon; $i<=($positon+2); $i++){
array_push($arr_place ,$from_arr[$i]);
}
return $arr_place;
}
$from = array("1", "2", "3", "4", "5");
$positon = 1;
print_r(From_main_table($positon,$from));
$text = '90+3\' SGDGG p[gdsg] sadgcgbcvb';
echo preg_replace('~^[^a-z]+~i', '', $text);