burhankhan Posted July 8, 2007 Share Posted July 8, 2007 Hi: I have string like this: [ quote ] [ quote ] [ quote ] [quote ] here is data DDDDDDDDD[ / quote ] this is data CCCCCCCCCCC [ / quote ] this is data BBBBBBBBBB [ / quote ] this is data AAAAAAAAAAAA [ / quote ] I want some text processing, so that i can get only top [ quote ] and its data. And remove remaining data. For example output should be : [ quote ] this is data AAAAAAAAAAAA [ / quote ] I have applied some preg_repalce but no success. Please help me! Quote Link to comment Share on other sites More sharing options...
aim25 Posted July 8, 2007 Share Posted July 8, 2007 What do you want to do? Quote Link to comment Share on other sites More sharing options...
burhankhan Posted July 8, 2007 Author Share Posted July 8, 2007 What do you want to do? I have edited my post. Actually i was typing post and press ENTER key by mistake. And post was incomplete. Quote Link to comment Share on other sites More sharing options...
burhankhan Posted July 9, 2007 Author Share Posted July 9, 2007 Can anybody help me????? Please ready my post ...... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.