I am selecting from an oracle table (using sql) that contains the following values:
ae0.32767
bcm0.0
em0.0
ge-0/1/0.32767
ge-7/1/0.100
ge-7/1/0.32767
lo0.0
lsi.0
pc-0/0/0.16383
pc-1/0/0.16383
pc-5/0/0.16383
xe-0/0/0.838
How do I extract values (using regexp) after and not including the decimal point.
For example:
32767
0
0
32767
100
32767
0
0
16383
16383
16383
838
The regexp_substr function can be used to extract digits after a period at the end of a string. Here is an example: