Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Evans 616 posts 988 karma points
    Jan 14, 2010 @ 15:04
    Dan Evans
    0

    Default Contact form

    The contact form that comes with Contour as a template has a reg ex for an email address, however it won't pass my email address as a valid address.

    The correct reg ex is ^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$

    D

  • Dan Evans 616 posts 988 karma points
    Jan 14, 2010 @ 15:18
    Dan Evans
    0

    Sorry, pasted the incorrect reg ex in - this is the correct one:

    \w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies