title: How can I make a regex to find instances of the word Project not in square brackets?
body: <p>For example:</p>
  
  <pre><code>$lang['Select Project'] = 'Select Project OK';
  
  $lang['Project'] = 'Project';
  </code></pre>
  
  <p>I want to find only the instances of the word 'Project' not contained within the square brackets. </p>
  
  <p>I'm using ColdFusion studio's extended replace utility to do a global replace.</p>
  
  <p>Any suggestions?</p>
  
  <p>Code Sample Follows:</p>
  
  <pre><code>    &lt;?php
  $lang['Project Message Board']                  = 'Project Message Board';
  $lang['Project']                                = 'Project';
  $lang['Post Message']                           = 'Post Message';
  $lang['To']                                     = 'To';
  $lang['Everyone']                               = 'Everyone';
  $lang['From']                                   = 'From';
  $lang['Private Messsage']                           = 'Private Messsage';
  $lang['Note: Only private message to programmer']                           = '[ Note: Please enter programmers id for private message with comma separate operator ]';
  $lang['Select Project']                         = 'Select Project';
  $lang['message_validation']                     = 'Message';
  $lang['You must be logged in as a programmer to post messages on the Project Message Board']    = 'You must be logged in as a programmer to post messages on the Project Message Board';
  $lang['Your Message Has Been Posted Successfully']                                              = 'Your message has been posted successfully';
  $lang['You must be logged to post messages on the Project Message Board']                       = 'You must be logged to post messages on the Project Message Board';
  $lang['You must be post project to invite programmers']                                         = 'You must be post project to invite programmers';
  $lang['You must be logged to invite programmers']                                               = 'You must be logged to invite programmers';
  $lang['There is no open project to Post Mail']                                                  = 'There is no open project to Post Mail';
  $lang['You are currently logged in as']='You are currently logged in as';
  $lang['Tip']='Tip: You can post programming code by placing it within [code] and [/code] tags.'; 
  $lang['Submit']='Submit';
  $lang['Preview']='Preview';
  $lang['Hide']='Hide';
  $lang['Show']='Show';
  $lang['You are currently logged in as']='You are currently logged in as';
  </code></pre>