Regular Expressions zum Erkennen von Links

  • E-Mail-Adressen:
    [-a-z0-9!#$%&\’*+/=?^_.`{|}~]+@([.]?[a-zA-Z0-9_/-])*
  • Links with protocol:
    [a-zA-Z]+://(([.]?[a-zA-Z0-9_/-])*)
  • Links without protocol:
    (^| )(www([-]*[.]?[a-zA-Z0-9_/-?&%])*)