@gudolik said in Parse string between left and right:
@GhostZ said in Parse string between left and right:
@gudolik, Just use XPath to get attribute "value".
Example:
//input[contains(@name, 'VIEWSTATE')]/@valueReturns empty already tried that, must use regex to get as xpath returns empty. But this is just a suggestion to make things easier not an issue
What you described is easily accomplished using regular expressions, without an additional tool
https://regex101.com/r/LBhoEi/1
ed950b06-a45d-42e4-9a2a-9fdd822a0266-изображение.png
But @GhostZ said the right solution. For parsing html pages it is better to use xpath. If the specified solution does not work for you, show where and how you apply it.