Taras Shkvarchuk <[EMAIL PROTECTED]> wrote:
> I want to let values pass if they start with
> "cid:" or "file:" or if they don't have a ':' inside the string.
> I was thinking somthing like: /^(cid:.+|file:.+|.*(?!:).*)$/
> should work but it doesn't :(
Something that starts with "cid:" or "file:"
I need to NOT match
something in a regex for XML schema validation. And I need to do it all in one
command it looks like.
for example: I want
to let values pass if they start with "cid:" or "file:" or if they don't have a
':' inside the string.
I was thinking
somthing like: /^(cid:.+|file:.