title: How to write a regular expression to match a limit of 125 characters per line with an optional delimiter?
body: <p>I am making a textarea input box and the user enters a keyword with an option match type like this:</p>
  
  <p>Keyword With Optional Spaces|My Match</p>
  
  <p>The Keyword With Optional Spaces needs to have the limit of 125 characters. If the optional delimiter is entered it needs to either be Broad Match, Exact Match or Phrase match. Does anyone have an example or a similar regular expression? This is probably the toughest one I have delt with.</p>
  
  <p>Thanks,
  Darren</p>