Topic: Searching long string...

Howdy people...

Anyone fancy helping me out briefly...

What is the most effective route to get many of these     E-061010123456      out of a large string and store within an array. The string will contain from 20-100.

Cheers people... big_smile

Re: Searching long string...

preg_match_all("#E-[0-9]{20, 100}#", $str, $matches);

They'll be stored in $matches[1] normally.