정규식

정규식

헤롱헤롱이 2020. 6. 9. 14:38

preg_match_all("/fileDown\('.*?'\)/", $value,$onfnc); //fileDown()가로안에 모든문자열

 

 

preg_match_all("/[0-9]{4}-[0-9]{2}-[0-9]{2}/", $con->find("td", 1)->innertext,$textDate);//날짜 찾기

 

preg_match_all("/[^()]+/", $href,$c); //괄호안의 모든문자열