I want to extract the first and second dates that have been included in free-text memo lines. The dates are either 1/1/2021 or 01/02/2021. I'm thinking I use something like REGEXP_SUBSTR({memo}, '[d\s]d\/[d\s]d\/\d\d\d\d') but that returns null.
m
michoel
03/11/2021, 5:33 AM
Something like this should work
michoel
03/11/2021, 5:33 AM
\d{1,2}\/\d{1,2}\/\d{4}
michoel
03/11/2021, 5:34 AM
message has been deleted
michoel
03/11/2021, 5:35 AM
Though you might need to escape the slashes for oracle
👀 1
n
Netsuite Tragic
03/11/2021, 6:08 AM
thanks. ended up with REGEXP_SUBSTR({memo}, '\d{1,2}/\d{1,2}/\d{4}',1,2)