Use the fn:match() function and the regular expression at the following URL:

http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html

Yes - that's an 82 line regular expression. Email addresses can be more 
complicated than you imagine.

John

On 19/06/13 11:32, sini narayanan wrote:
> Hi All,
>
> How do I validate emails using regular expression in MarkLogic.
>
> Thanks,
> Sini

-- 
John Snelson, Lead Engineer                    http://twitter.com/jpcs
MarkLogic Corporation                         http://www.marklogic.com
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to