hello,
I have a table that includes a culumn whith string
I want to extract the number from the string
The numbers are not in fixed places.
below is tne table sample
name
jon 0294
tran jon 0294
transfer from jon 0294
0294 jon
below is tne table script
create table b2 (name varchar(255))
insert into b2 select 'jon 0294'
insert into b2 select 'tran jon 0294'
insert into b2 select 'transfer from jon 0294'
insert into b2 select '0294 jon'
below is the expected rusults
| name | number |
| jon 0294 | 0294 |
| tran jon 0294 | 0294 |
| transfer from jon 0294 | 0294 |
| 0294 jon | 0294 |