Hi Murray,
The length of text is quite long..it is in fact a 150+ page PDF file,
which as it's using an earlier version of PDF I can 'translate' into a
format that I can extract data from..it's just this one bit of text that
I'm stuck on. Yes it does appear multiple times, but the pattern is
always the same.
Cheers
Alexis
Murray @ PlanetThoughtful wrote:
On 9/02/2006 12:29 AM, phplists wrote:
Thanks for that...and yes that would do very nicely.
Unfortunately, for what I'm trying to do, it is of little use. I
probably should have mentioned that the bit of text I used is actually
just part of a much bigger bit of text so exploding on a space would
cause havoc with the rest of it. Hence the REGEX question.
But, I still agree with you 100% about keeping things simple :o)
Thanks
Alexis
Hi Alexis,
Can you give us an example of the full length of text? Does the target
value appear only once in any one string?
Is the pattern always:
-left bracket
-backslash
-left bracket
-2 letters
-backslash
-right bracket
-space
-2 letters
-dash
-single digit
-space
-right bracket
?
Much warmth,
Murray
---
"Lost in thought"
http://www.planetthoughtful.org
"Urban legends, superstitions, ghost
stories and folklore"
http://www.ulblog.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php