Awe Forget it

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Just Me

    #1

    Awe Forget it

    This is a bunch of bull cr*p. I have tried copying tables out on the web
    and there are so many variations that its not feasable to write a single
    regex for every situation.

    So, I give up.


  • rdrunner

    #2
    Re: Awe Forget it

    Hello...

    Please try to keep your related posts together in one thread ;)

    And now a sugestion:

    Try the HTML-DOM and look at the tags there... They have a property of inner
    text, which can be used to extract the text out of any HTML-Node or even the
    whole document... Or you can examine all tables or table.row or tabledata
    fields and extract the information from there. But scrapping information
    from websites is usually quite hard ;)



    Comment

    • Mudhead

      #3
      Re: Awe Forget it

      This will get all the tables: Set IgnoreCase and SingleLine options. Use
      groups.

      <table .*?</table>


      "Just Me" <news.microsoft .comwrote in message
      news:%23iJpLxML HHA.1008@TK2MSF TNGP06.phx.gbl. ..
      This is a bunch of bull cr*p. I have tried copying tables out on the web
      and there are so many variations that its not feasable to write a single
      regex for every situation.
      >
      So, I give up.
      >

      Comment

      • Hal Rosser

        #4
        Re: Awe Forget it


        "Just Me" <news.microsoft .comwrote in message
        news:%23iJpLxML HHA.1008@TK2MSF TNGP06.phx.gbl. ..
        This is a bunch of bull cr*p. I have tried copying tables out on the web
        and there are so many variations that its not feasable to write a single
        regex for every situation.
        >
        Well shux, why don't you just read the file one char at a time and use use
        "if" statements and comparison operators?
        It won't be a minimal task, but it won't be that tough, either.



        Comment

        • Mudhead

          #5
          Re: Awe Forget it

          HTML Parser




          "Just Me" <news.microsoft .comwrote in message
          news:%23iJpLxML HHA.1008@TK2MSF TNGP06.phx.gbl. ..
          This is a bunch of bull cr*p. I have tried copying tables out on the web
          and there are so many variations that its not feasable to write a single
          regex for every situation.
          >
          So, I give up.
          >

          Comment

          • Cor Ligthert [MVP]

            #6
            Re: Awe Forget it

            Just Me,

            Why than using Regex, MSHTML is much easier to get information about
            webdocuments. Be aware that a page can exist from more documents (frames)



            Be aware that our website is extremely in reconstruction these weeks.

            I hope this helps,

            Cor

            "Just Me" <news.microsoft .comschreef in bericht
            news:%23iJpLxML HHA.1008@TK2MSF TNGP06.phx.gbl. ..
            This is a bunch of bull cr*p. I have tried copying tables out on the web
            and there are so many variations that its not feasable to write a single
            regex for every situation.
            >
            So, I give up.
            >

            Comment

            Working...