4
Next, I have a page that generates a shuffled content with dynamic and non-dynamic strings, I need to take a dynamic value between separators |
, it contains random data/strings around, which change when loading the page. The variable I want to pick has a fixed number of 32 characters composed of letters, numbers and _
(a-zA-Z0-9_
).
Example:
PAGE CONTENTS
...new "x";test>'ok'=blabla-bla;||inicio||var77|var2|44AsFGq72A7_7Aq770vAr45|variavel|randomvariavel75|87df".fim("0"...
I wish to take the value of 33
characters (44AsFGq72A7_7Aq770vAr45
) but I don’t know how because when the page is updated the values of the Lada of the 23
characters change order, and the string itself also because it is random.
Example page update.
(PS: The start and end values are always in the same place)
...new "x";test>'ok'=blaalb-bla;||inicio||r_a_n_d99|var2|84DF8|7s79DFGDsf8ssfs84D84d8D|var77|8526".fim("0"...
I need to use regex
in the php
to take this random variable on this random page excluding any other code that may appear.
Is there any way to do that?
The string you want has 23.32 or 33 characters?
– Sergio
I’m sorry for the inconsistency, they’re actually more than one, I ended up mixing, but only one example fits the other, let’s say you’re 23.
– Florida