Search found 1 match
- Thu Nov 25, 2010 1:33 am
- Forum: PHP - Code
- Topic: preg_match_all question
- Replies: 0
- Views: 124
preg_match_all question
Hi i can't make a good pattern to get each Text1 and Text 2 Separately in matches[1] array , i mean $matches[1][0]=Text1 and $matches[1][1]=Text2 with the pattern i'm using , i get The whole text between first ((Ex)) and last ((/Ex)) i know it's easy but i'm beginner ((Ex)) Text1 ((/Ex)) Other Text ...