title: Javascript Expression - data extraction
body: <p>I'm not very familiar with english and still less with javascript, sorry for that.</p>
  
  <p>I have lots of extracted datas in a field named LT, I need to extract a particular data from LT field in javascript, this data is a number after <code>"Relevé N° :"</code> or sometimes after <code>"N° de relevé :"</code> expression is never exactly the same.</p>
  
  <p>I actually use that: <code>record.fields.LT.substring(record.fields.LT.indexOf("relev")).slice(10, 19);</code></p>
  
  <p>But that dont match because sometimes there is more than one space or the "R" is uppercase etc..</p>
  
  <p>Some help would be appreciated ;-)</p>
  
  <p>Thanks 
  Bryan</p>
  
  <p>EDIT: thank you both for your answers, here is some screenshots for a better understanding <a href="https://i.stack.imgur.com/0cBQv.png" rel="nofollow noreferrer">1</a></p>
  
  <p>I try first suggestion and it ask for missing ; and ) but when i add it, nothing remain in field as you can see on picture2 <a href="https://i.stack.imgur.com/YRqnx.png" rel="nofollow noreferrer">2</a></p>
  
  <p>and when i try second answer, there is a syntax problem(seems to be the "(?:")</p>