I have the following value: S/O BOISE CASCADE (60031167)
how do I extract the value in the parentheses so that I have a new column in my table that is 60031167
?
CodePudding user response:
You can use this regular expression:
select regexp_extract('S/O BOISE CASCADE (60031167)', '[(]([^)] )[)]')