Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 2 posts - 46 through 47 (of 47 total)
  • Author
    Posts
  • in reply to: Shortest GREP Pattern to address URLs and e-mail addresses? #53885

    Hello everybody

    This is a very interesting topic. Like Casey D, I would like to find the best and shortest regex for e-mail (and web) adresses.

    I tried [w:/]+[.@]+[w%-/]+ and it is good, but there is two problems (cf web_00.png)

    I tried this : b[S/]+@?S+.S+b The result is not perfect (doesn't find last / at the end of URLs) (cf. web_01.png)

    But both are a problem : w finds also accented characters as S, and I think an e-mail adress is a string of ASCII characters.

    Laurent

    in reply to: Shortest GREP Pattern to address URLs and e-mail addresses? #50791

    Hello everybody

    This is a very interesting topic. Like Casey D, I would like to find the best and shortest regex for e-mail (and web) adresses.

    I tried [\w:/]+[.@]+[\w%-/]+ and it is good, but there is two problems (cf web_00.png)

    I tried this : [\S/]+@?\S+\.\S+ The result is not perfect (doesn't find last / at the end of URLs) (cf. web_01.png)

    But both are a problem : \w finds also accented characters as \S, and I think an e-mail adress is a string of ASCII characters.

    Laurent

Viewing 2 posts - 46 through 47 (of 47 total)