Highlighting variables and keywords in jQuery
<p>I am trying to highlight variables and keywords in a code snippet using jQuery. Suppose, I have a java snippet like this,</p>

<pre><code>public class abc { 
  public static void main(String args[]) { 
    int count = 0; 

}
}
</code></pre>

<p>I am using button called "Variable" for variables and "Keyword" for reserved keywords. 
Is there any method for it? Or should I be using Regex?</p>
