>
>notes:curious Regexp object
>1.code works with a specifc regEXP.pattern (for first not for second).
>2.for cursor regEXP.execute must receive a string instead a field as url
> it return matches.count=0 for a field url and matches.count=1 for a strind (xURL=url)
Change the pattern to "(\/watch\?v\=|\/\w+\?v=|\/|v=)([a-zA-Z0-9\-]+)(\s*$|\?|\&)" to get it working with a character (padded) field.
----------------------------------
António Tavares Lopes