title: Regex for every first line of paragraph in InDesign GREP
body: <p>i'm trying to apply a certain formatting using InDesign GREP-Styles. My intention is to match every first line of a paragraph.</p>
  
  <p>My first attempt was:</p>
  
  <pre><code>(?&lt;=\r)(\w)+(?=\r)
  </code></pre>
  
  <p>but this won't work and if it would, then the very first paragraph wouldnt match.
  Has anybody an idea? My regex skills are very, very poor...</p>
  
  <p>For better understanding:</p>
  
  <pre><code>Lorem ipsum dolor sit amet
  Sed diam nonumy eirmod tempor
  
  Lorem ipsum dolor sit amet
  Sed diam nonumy eirmod tempor
  
  Lorem ipsum dolor sit amet
  Sed diam nonumy eirmod tempor
  </code></pre>
  
  <p>should become</p>
  
  <pre><code>*Lorem ipsum dolor sit amet*
  Sed diam nonumy eirmod tempor
  
  *Lorem ipsum dolor sit amet*
  Sed diam nonumy eirmod tempor
  
  *Lorem ipsum dolor sit amet*
  Sed diam nonumy eirmod tempor
  </code></pre>