I tried the print_r on $res. The preg_match does the first set fine.
So I get:
Campus
Bob (Williams)
the second one starts
-
Address123 Main St
-
CityOxford
and so on
[EMAIL PROTECTED] wrote:
preg_match('#([^|]*)[|]+([^|]*)~[\\]+(([^\\]*)~[\\]+)+#Ui', $string, $res
I knew I shouldnt have abreviated the string.
here is the string sorry I kinda flubbed on the last string
"LocationCampus~\\n-\nNameBob
Williams~\\n-\nAddress123 Main St~\\n-\n..."
the ... is a very long list.
how does this change the
2 matches
Mail list logo