Lets say I have a table like this:
--------------------------------------------------
| id | text |
--------------------------------------------------
| 01 | Test string <div src="0124"> |
--------------------------------------------------
| 02 | Another type <div src="667"> test string |
--------------------------------------------------
I need to write a SELECT that gets the value that is inside src="" from the string in the text column. So My end result should be:
------
|text|
------
|0124|
-----
| 667|
In my case SUBSTRING does not suit me, since I don't know my sub-strings
Also since I'm looking for a value, that comes after a specific sub-string, I can't use char position.
So how can I get a value that comes after a specific sub-string inside a string