I want to split the string with regular expression in php.
e.g.
(String here, 12345 Another String Here,
From the above string I need
1) – 5 digit code
2) – string before 5 digit code, upto brace
3) – string after 5 digit code, upto comma
Thanks in advance.
Try this :