Is it possible to make two matches of text - /123/123/123?edit
I need to match 123
, 123
,123
and edit
For the first(123,123,123): pattern is - ([^\/]+)
For the second(edit): pattern is - ([^\?=]*$)
Is it possible to match in one preg_match_all
function, or I need to do it twice - one time for one pattern, second one for second?
Thanks !