RegEx in Creator using replaceAll function

RegEx in Creator using replaceAll function

I am having trouble wrapping my head around the use of replaceAll and RegEx in Zoho Creator. It's my understanding I can't capture groups like I would with JS or Python.

Can anyone provide guidance on how I could accomplish the following?

str = "abcdefgh Record Date: 2020-04-05\n. abcdefghijklmnop"

I'm trying to capture the word after Record Date:, and between \n. In other words, I'm trying to use the function to return only 2020-04-05.