Find/Replace with Regex and Wildcard in the middle of the strings

For the sake of this question, I have a document that contains the following two lines in it

{{=doDateDeltaFromCurrent(“yyyy-MM-dd”,”-738180D”);/0001-01-01/}}
{{=doDateDeltaFromCurrent(“yyyy-MM-dd”,”180D”);/0001-01-21/}}

and I would like to do a find/replace (or maybe even something different) that would leave me with only the following:

0001-01-01
0001-01-21

I am aware that this might be able to be completed with Regular Expression inserting the wildcard for the -738180D and/or 180D parts but the syntax is where I’m running into a problem. Can you please help me to set this up?

Read more here: Source link