... tokenize! verify!verify...
No pipe on my phone.
One verify for alphas, one for numerics.
Maybe a bit more detail would help.

On Nov 2, 2017 1:01 PM, "Glenn Knickerbocker" <[email protected]> wrote:

> To pick out PTF numbers from freeform text, I'm splitting on anything
> that's not alphanumeric and then looking for U as the first character,
> etc.  I just had a problem where somebody accidentally ran the APAR and
> PTF numbers together into PI86281UI51100, so I didn't find the PTF
> number.  My code *should* be short-lived, and I could SPLIT BEFORE ANYOF
> 'OPU' to handle our current APAR and PTF prefixes, but we all know how
> many decades later we fall into those traps.  Am I overlooking some
> simple way (short of resorting to PATTERN) to split before a letter that
> follows a number?
>
> ¬R
>

Reply via email to