siddscool19 Posted September 16, 2008 Share Posted September 16, 2008 I am able to get an out if the text between and </textarea> using this preg_match('/\[quote="(.*)"\](.*)\[\/quote\]<\/textarea>/s',$contentss,$hurray); echo $hurray[2]; But if the text is very large I am not able to get the output why? Link to comment https://forums.phpfreaks.com/topic/124407-need-help/ Share on other sites More sharing options...
DarkWater Posted September 16, 2008 Share Posted September 16, 2008 Give example input and expected output please. =/ And put the input in code tags so that it doesn't parse the tags. Link to comment https://forums.phpfreaks.com/topic/124407-need-help/#findComment-642454 Share on other sites More sharing options...
siddscool19 Posted September 16, 2008 Author Share Posted September 16, 2008 I am trying to get the block of text from a web page which i get using curl and store in $contentss . It can get normal data between like this much [quote="hi"] Stardock CursorFX is a program that lets you use and create incredibly cool looking Windows mouse cursors. It does this by taking advantage of the new visual effects features of Windows XP and Windows Vista. Adding a shadow under Windows XP and Vista was hardly a great advance and therefore CursorFX exists to give you more-much more. CursorFX users can create and use cursors that look and feel far superior to anything you've ever seen before! Best of all, it's really easy to create your own super-charged cursors! It integrates into the standard Mouse interface of Windows and is easy to turn on and off as you need. CursorFX is a replacement for Stardock's immensely popular cursor skinning program called CursorXP. [/quote]</textarea> But its not able to get a big data like [quote="hi"]Stardock CursorFX is a program that lets you use and create incredibly cool looking Windows mouse cursors. It does this by taking advantage of the new visual effects features of Windows XP and Windows Vista. Adding a shadow under Windows XP and Vista was hardly a great advance and therefore CursorFX exists to give you more-much more. CursorFX users can create and use cursors that look and feel far superior to anything you've ever seen before! Best of all, it's really easy to create your own super-charged cursors! It integrates into the standard Mouse interface of Windows and is easy to turn on and off as you need. CursorFX is a replacement for Stardock's immensely popular cursor skinning program called CursorXP. Stardock CursorFX is a program that lets you use and create incredibly cool looking Windows mouse cursors. It does this by taking advantage of the new visual effects features of Windows XP and Windows Vista. Adding a shadow under Windows XP and Vista was hardly a great advance and therefore CursorFX exists to give you more-much more. CursorFX users can create and use cursors that look and feel far superior to anything you've ever seen before! Best of all, it's really easy to create your own super-charged cursors! It integrates into the standard Mouse interface of Windows and is easy to turn on and off as you need. CursorFX is a replacement for Stardock's immensely popular cursor skinning program called CursorXP. Stardock CursorFX is a program that lets you use and create incredibly cool looking Windows mouse cursors. It does this by taking advantage of the new visual effects features of Windows XP and Windows Vista. Adding a shadow under Windows XP and Vista was hardly a great advance and therefore CursorFX exists to give you more-much more. CursorFX users can create and use cursors that look and feel far superior to anything you've ever seen before! Best of all, it's really easy to create your own super-charged cursors! It integrates into the standard Mouse interface of Windows and is easy to turn on and off as you need. CursorFX is a replacement for Stardock's immensely popular cursor skinning program called CursorXP. Stardock CursorFX is a program that lets you use and create incredibly cool looking Windows mouse cursors. It does this by taking advantage of the new visual effects features of Windows XP and Windows Vista. Adding a shadow under Windows XP and Vista was hardly a great advance and therefore CursorFX exists to give you more-much more. CursorFX users can create and use cursors that look and feel far superior to anything you've ever seen before! Best of all, it's really easy to create your own super-charged cursors! It integrates into the standard Mouse interface of Windows and is easy to turn on and off as you need. CursorFX is a replacement for Stardock's immensely popular cursor skinning program called CursorXP. Stardock CursorFX is a program that lets you use and create incredibly cool looking Windows mouse cursors. It does this by taking advantage of the new visual effects features of Windows XP and Windows Vista. Adding a shadow under Windows XP and Vista was hardly a great advance and therefore CursorFX exists to give you more-much more. CursorFX users can create and use cursors that look and feel far superior to anything you've ever seen before! Best of all, it's really easy to create your own super-charged cursors! It integrates into the standard Mouse interface of Windows and is easy to turn on and off as you need. CursorFX is a replacement for Stardock's immensely popular cursor skinning program called CursorXP. Stardock CursorFX is a program that lets you use and create incredibly cool looking Windows mouse cursors. It does this by taking advantage of the new visual effects features of Windows XP and Windows Vista. Adding a shadow under Windows XP and Vista was hardly a great advance and therefore CursorFX exists to give you more-much more. CursorFX users can create and use cursors that look and feel far superior to anything you've ever seen before! Best of all, it's really easy to create your own super-charged cursors! It integrates into the standard Mouse interface of Windows and is easy to turn on and off as you need. CursorFX is a replacement for Stardock's immensely popular cursor skinning program called CursorXP. [/quote]</textarea> The above text is not same I have just taken it for an example multiple times. Thats the problem hope you understand Link to comment https://forums.phpfreaks.com/topic/124407-need-help/#findComment-642462 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.