Regular expressions in javascript...

Out of context: Reply #3

  • Started
  • Last post
  • 4 Responses
  • gabriel_pc0

    Let's say I wanted to find out if there were any invalid characters in the first portion of an email addres.

    ex:

    How would I detect the % and/or $ in that first portion of the email?

    I've tried /[^w]@/ but that only works if the invalid character is directly before the @. Thanks!

View thread