Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread John Taylor-Johnston
tamouse mailing lists wrote: On Sun, Sep 2, 2012 at 7:57 PM, John Taylor-Johnston wrote: Just to prove me right, our mail clients start quoting from the top too :)p Exactly. The quoting starts from the *top*. The problem is that the cursor to start typing is also put there by default. Step bac

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread tamouse mailing lists
On Sun, Sep 2, 2012 at 7:57 PM, John Taylor-Johnston wrote: > Just to prove me right, our mail clients start quoting from the top too :)p Exactly. The quoting starts from the *top*. The problem is that the cursor to start typing is also put there by default. Step back before MS Outlook started th

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread John Taylor-Johnston
"tamouse mailing lists wrote:" Just to prove me right, our mail clients start quoting from the top too :)p tamouse mailing lists wrote: On Sun, Sep 2, 2012 at 11:31 AM, John Taylor-Johnston wrote: I'll never get it. Newest work on top of the pile, instead of digging :)) Usually order reverse

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread tamouse mailing lists
On Sun, Sep 2, 2012 at 11:31 AM, John Taylor-Johnston wrote: > I'll never get it. Newest work on top of the pile, instead of digging :)) Usually order reverse in flow conversations your do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread John Taylor-Johnston
See: http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.php http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.phps In $mystring, I need to extract everything between "|News Releases|" and "-30". The thing now is $mystring might contain many instances of "|News Releases|" and

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread Matijn Woudt
On Sun, Sep 2, 2012 at 4:36 PM, John Taylor-Johnston wrote: > >> On Sun, Sep 2, 2012 at 6:23 AM, John Taylor-Johnston >> wrote: >>> >>> See: >>> http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.php >>> http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.phps >>> >>> In $mystrin

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread John Taylor-Johnston
Frank Arensmeier wrote: >>> See: >>> http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.php >>> http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.phps >>> >>> In $mystring, I need to extract everything between "|News Releases|" and >>> "-30". >>> >>> My approach would be to sp

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread John Taylor-Johnston
On Sun, Sep 2, 2012 at 6:23 AM, John Taylor-Johnston wrote: See: http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.php http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.phps In $mystring, I need to extract everything between "|News Releases|" and "-30". The thing now is $

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread Frank Arensmeier
2 sep 2012 kl. 14.40 skrev Matijn Woudt: > On Sun, Sep 2, 2012 at 6:23 AM, John Taylor-Johnston > wrote: >> See: >> http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.php >> http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.phps >> >> In $mystring, I need to extract everything

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread Matijn Woudt
On Sun, Sep 2, 2012 at 10:10 AM, Ashley Sheridan wrote: > On Sun, 2012-09-02 at 00:23 -0400, John Taylor-Johnston wrote: > >> See: >> http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.php >> http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.phps >> >> In $mystring, I need to ex

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread Matijn Woudt
On Sun, Sep 2, 2012 at 6:23 AM, John Taylor-Johnston wrote: > See: > http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.php > http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.phps > > In $mystring, I need to extract everything between "|News Releases|" and > "-30". > > The thin

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-02 Thread Ashley Sheridan
On Sun, 2012-09-02 at 00:23 -0400, John Taylor-Johnston wrote: > See: > http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.php > http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.phps > > In $mystring, I need to extract everything between "|News Releases|" and > "-30". > > Th

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-09-01 Thread John Taylor-Johnston
See: http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.php http://www.cegepsherbrooke.qc.ca/~languesmodernes/test/test.phps In $mystring, I need to extract everything between "|News Releases|" and "-30". The thing now is $mystring might contain many instances of "|News Releases|" an

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-08-20 Thread Robert Cummings
On 12-08-21 01:11 AM, Robert Cummings wrote: On 12-08-21 12:32 AM, John Taylor-Johnston wrote: This is usually a first-year CS programming problem (word frequency counts) complicated a little bit by needing to extract the text. You've started off fine, stripping tags, converting to lower case

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-08-20 Thread Robert Cummings
On 12-08-21 12:32 AM, John Taylor-Johnston wrote: This is usually a first-year CS programming problem (word frequency counts) complicated a little bit by needing to extract the text. You've started off fine, stripping tags, converting to lower case, you'll want to either convert or strip HTML

Re: [PHP] extract Occurrences AFTER ... and before "-30-"

2012-08-20 Thread John Taylor-Johnston
This is usually a first-year CS programming problem (word frequency counts) complicated a little bit by needing to extract the text. You've started off fine, stripping tags, converting to lower case, you'll want to either convert or strip HTML entities as well, deciding what you want to do with