title: React: How can i read a Code from the URL
body: <p>I use the Firebase SDK in my React-App. If a user wants to reset his password, he will be redirected to a page within my app. Firebase requires the code to be inserted in the URL for password reset.</p>
  
  <p>The Code will be saved in <code>this.props.location.search</code> When i log this prop, i get his:</p>
  
  <pre><code>?mode=resetPassword&amp;oobCode=3ckTC8-xBAzTUCbrWQCrg4i0kD6F2_wOmuaeiHLsQH8AAAFmERVurw&amp;apiKey=AIzaSyDC3GXJ2rcONeBYTu9FBjZEfJbEsaJMWNo&amp;lang=en
  </code></pre>
  
  <p>How can i get only the Code from this URL Parameters? </p>
  
  <p>Thanks for your answer and for your help</p>