Zdravím,
takže potrebujem vybrať všetky tie hodnoty CISLO_111111111. Proste nejaký spôsob ako vybrať z teho textu to slovo ktoré začína slovom CISLO_ a končí medzerou. Neviem si rady ako to vybrať. a vypísať napr. cez foreach. Vďaka za prípadné rady
$hodnota = "Lorem Ipsum is simply CISLO_0123456789 dummy text of the
printing and typesetting industry CISLO_45236574 Lorem Ipsum has
been the industry's standard dummy CISLO_32478569 text ever since the 1500s,
when an unknown printer took a CISLO_0147852365 galley of type and scrambled it
to make a type specimen book. CISLO_45687523 It has survived not only five centuries,
but also the leap into electronic CISLO_15982354 typesetting, remaining essentially unchanged.
It was popularised in the 1960s CISLO_14589352 with the release of Letraset sheets containing
Lorem Ipsum passages, and more CISLO_147852369 recently with desktop publishing software
like Aldus PageMaker including CISLO_136458752 versions of Lorem Ipsum.";
Chcel by som dostať na výstupe toto, skúšal som cez preg_match_all ale nedarí sa mi spraviť nato pattern :/
CISLO_0123456789
CISLO_45236574
CISLO_32478569
CISLO_0147852365
CISLO_45687523
CISLO_15982354
CISLO_14589352
CISLO_147852369
CISLO_136458752