Regexp lookbehind javascript

I have this regexp that matches correctly everything I need (all the email addresses NOT inside a link):


Unfortunately, since javascript does not support lookbehind, it does not work on my web app. Is there a solution for that?


By definition, you have to look behind to know there is no starting link tag <a> before the email address.

You can try:

  1. match each email address, and then verify that the email address is not inside a link programmatically


  1. use AJAX send the data to your server, and get your server to do the Regex.

Need Your Help

git-archive vs. cp

git archive cp

What is the advantage of using

how to implement session tracking for jsp pages

java session jsp servlets tracking

I have using jsp technology in my project.I want to do session tracking

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.