New radio PIDs, more than 8 characters
Ralph Corderoy
ralph at inputplus.co.uk
Sun Aug 13 09:54:33 PDT 2017
Hi M,
> > ^(?:[bp]0|w3)[a-z0-9]{6}$
>
> Thanks for coding help but, the problem is worse (for me...), PID
> w172vg029mkl852 Business Matters - Former US Vice President Al Gore on
> Climate Change (w172vg029mkl852)
More samples would allow the regexp to reject invalid ones, but perhaps
^(?:[bp]0[a-z0-9]{6}|w[a-z0-9]{7,14})$
`{7,14}' means from seven to fourteen of the preceding thing, inclusive.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
More information about the get_iplayer
mailing list