title: how to select two specific words in a string and from the second word to the end of the string using regex
body: <p>So I have a request that gives me back this string:</p>
  <p>secret: SAXH7PWSK23365M2QU public: GDJREP4P3JN3YUOXBOPJK6YFHE</p>
  <p>From all of this string I need only the characters after secret: and before public:</p>
  <p>secret: and public: and the characters after public: should be deleted or just not used.
  I use react js.</p>
  <p>What regex expression can I use for this case?</p>
  <p>If there are any solution without regex, they are also welcome.</p>