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

_______________________________________________
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to