How to use wildcards to search for e-mail addresses.

Hi all


We have a great html site and we need to search all pages to find all built-in e-mail addresses. We just need to make sure that all the addresses on the site are always topical. I tried to use a regex search such as @[\w\W]*?com but the problem is that it will find a great piece of code that starts by the @ and somewhere later ends with the.] com  For example this piece of code would be returned using this search:

@import url("./menu.css");

< / style >

< link hand. CSS"rel ="stylesheet"type =" text/css"/ >

< link href = "layout.css" rel = "stylesheet" type = "text/css" / > "

< link href =' http://fonts.googleapis.com/CSS?family=cabin:700,400 ' rel = "stylesheet" type = "text/css" >

"< script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js "> < / script >

< / head >

< body class = "gradient b" >

< div class = "container" >

< div class = "header" >

< div style = "width: 195px; "" float: left "> < a href =" http://www.SiteName.com " " "

Can someone suggest a better expression of search to find all email addresses on the site? BTW, all used addresses do not necessarily belong to the same domain name, so I can't limit the search string to that. And I realize that I probably repeat the search for .net, .org, etc.

I am close, or is it just not possible?

Thank you
CJ

Just add them to the final list in parentheses, separated by a vertical bar.

There are now a large number of top-level domains. If the OP needs a regex more complete, I'll be happy to oblige. But it would be useful to know which TLDs are likely to be needed in research. Otherwise, the regular expression becomes heavy.

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • Come on Apple to fix this, the links don't work and crashes it on ios

    iPhone 6 s 128 GB started having the same problem. Updated to ios 9.3 always the same.  As many have done, I tried all reasonable things to solve the problem. Nothing has worked so far. He isn't supposed to go back to factory settings and then restor

  • measure your does not give 0 for output

    Hello all, I use the tone for measurment.vi measure the frequency of a square wave from 0 to 15 Hz. when I run my program, my square wave frequency is zero, but the output the your measurment is 1,268, while running the program I get the value to zer

  • After installing SP3 on XP can not get computer to boot...

    I installed SP3 on XP. When I turn on the computer, it takes me to the screen to select a start upward. I does not start in safe mode, when I choose the other options of the Windows XP screen comes up but it does not start...

  • I'm trying to set up my system Windows 7 Ultimate 64 - bit up to use Windows XP mode.

    original title: XP Mode? HOW? I'm trying to set up my system using Windows XP mode 7 Ultimate 64-bit.I thought that since it was announced box WE the Win7software it would be IN the software! ... Funny that...But it's not. So, I go to the page to DOW

  • How to I don't overlay as a part of an image?

    Group,I am trying to create a logo for a shirt and I have a problem with it.  How can I get the black edge on just the upper part of the State?  My goal is to have words in the black band and have the bottom of the State covering the lower part of th