I want to match a pattern and store in an array. I need to find a pattern which started with the char "<" and end ">" like this with the word "test". For example <?test=6565?>. I have many occurances in my var. SO i want to collect and store it to an array.
I need a condition where to start "<" and not of ">" symbol. How can i do this?
In reply to pattern match by Selvakumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |