title: Regular expression to create xpath with Robot Framework
body: <p>I'm automating an application with the Robot Framework (Python 2.7). I use the xpath to locate the objects. I have seen that the xpath of the objects is different when I change the language application. For example:</p>
  
  <p>ES</p>
  
  <p>// * [@ id = "dnn_ctr<strong>489</strong>_ViewINT_Cupones_ibtnAdd"]</p>
  
  <p>FR</p>
  
  <p>// * [@ id = "dnn_ctr<strong>644</strong>_ViewINT_Cupones_ibtnAdd"]</p>
  
  <p>EN</p>
  
  <p>// * [@ id = "dnn_ctr<strong>583</strong>_ViewINT_Cupones_ibtnAdd"]</p>
  
  <p>This forces me to redo the Test Case because the xpath is different.</p>
  
  <p>Is it possible to use a regular expression to form the xpath? How can I avoid having to redo the test cases for each different language?</p>
  
  <p>Thank you.
  Marta</p>