Regular expression in Flex

9 views
Skip to first unread message

Prajyot

unread,
Dec 26, 2012, 10:03:47 AM12/26/12
to flex_...@googlegroups.com
Hi Everyone,

I am new to flex.
I want to create a regular expression pattern to extract xml tags from given string.

Eg.   
       start <test> ticket="new"  check </test> inBetween <test  ticket="old" check2 /> end1<test> type="ticket" value="234"</test>end2

Now i want to extract xml tags from above string and want to add all this in array

Output :

<test> ticket="new"  check </test> , <test  ticket="old" check2 /> , <test> type="ticket" value="234"</test>

Means i want to extract stuff related to that <test> xml tag. 
anyone please suggest me how to solve it.

Thanks.
 
Reply all
Reply to author
Forward
0 new messages