Let's say we have an HTML sting that looks like this:
<H1>Hello! This is just a number and I have no clue how long it is!!! <b>Just some HTML!</b> ... and finally the number - <u>230498</u>
This is just an example of the codes I am looking for use. Now I want to isolate that number, but if every time the number is a different length I cant just use a simple strpos to find that "<u>" and then add 3 and use substr, because it substr also needs a terminating value and I dont want "</u>" into the variable Im reading the number in. Can someone write a script that finds the number between the "<u>" and "</u>" and copies it into a variable w/o the "<u> and </u>".