Two or more matches in expression

Astro82

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