hi, I have the following string example:
PASSWORD = dsl3£$Roid
dfdfdf
fgdgfdfg
fgdfgdfg
dfgdfg
dfgdfgdfg
its stored in MySql Text field.
I need to get the "password" ie dsl3£$Roid
Its preceded by PASSWORD = and there is a \n line break after. I can use nl2br to make the string like this:
PASSWORD = dsl3£$Roid<br>
dfdfdf<br>
fgdgfdfg<br>
fgdfgdfg<br>
dfgdfg<br>
dfgdfgdfg<br>
Been fighting with preg_match all day but no luck... Currently have 10k + rows, each with unique passwords and need some code to pull just the password.
Many thanks for help!