• Re: Regexp for html forms

    From Harald Oehlmann@21:1/5 to All on Fri Aug 1 07:58:15 2025
    Am 01.08.2025 um 01:00 schrieb saito:
    On 7/31/2025 6:11 PM, saito wrote:
    Is there a regexp to parse out all inputs from an html form?  Ideally it


    Please ignore. I found something that I can work with.

    tdom is your friend. Now also for JSON.
    It also translates all the ü etc...

    Harald

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich@21:1/5 to Harald Oehlmann on Fri Aug 1 15:18:41 2025
    Harald Oehlmann <[email protected]> wrote:
    Am 01.08.2025 um 01:00 schrieb saito:
    On 7/31/2025 6:11 PM, saito wrote:
    Is there a regexp to parse out all inputs from an html form? 
    Ideally it


    Please ignore. I found something that I can work with.

    tdom is your friend. Now also for JSON.
    It also translates all the &uuml; etc...

    Yes, best to use a proper HTML/XML parser. While one can craft a regex
    to "parse" one specific given HTML form, it is impossible to write a
    regex that will parse any given HTML form.

    https://codica.dev/read/why-regex-fails-at-parsing-html-and-what-to-do-instead-1f4ace53

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)