Marius '95
troubleShooter
Nu asa. Vreau fiecare grup de cifre ca element separat.
In dreapta sa apara asa:
Group 1: 123
Group 2: 456
Group 3: 789
In dreapta sa apara asa:
Group 1: 123
Group 2: 456
Group 3: 789
preg_match('~\s*Round\s*Sample\s*xpt\s*Result\s*diff%\s*z-score(?:\r|\n)+\s*(\d\d.\d)\s*.*\s{2,}(\d+(?:\.\d+){0,1})\s{2,}(\d+(?:\.\d+){0,1})\s{2,}(?:-){0,1}(\d+(?:\.\d+){0,1}%)\s{2,}(?:-){0,1}(\d+(?:\.\d+){0,1})\s*(?:\r|\n)+\s*(\d\d.\d)\s*.*\s{2,}(\d+(?:\.\d+){0,1})\s{2,}(\d+(?:\.\d+){0,1})\s{2,}(?:-){0,1}(\d+(?:\.\d+){0,1}%)\s{2,}(?:-){0,1}(\d+(?:\.\d+){0,1})\s*(?:\r|\n)+\s*(\d\d.\d)\s*.*\s{2,}(\d+(?:\.\d+){0,1})\s{2,}(\d+(?:\.\d+){0,1})\s{2,}(?:-){0,1}(\d+(?:\.\d+){0,1}%)\s{2,}(?:-){0,1}(\d+(?:\.\d+){0,1})\s*~mi',$file,$match)