1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Windows batch script to find string from html file and copy it to text file

Discussion in 'Windows - General discussion' started by friis, Oct 19, 2012.

Thread Status:
Not open for further replies.
  1. friis

    friis Active member

    Joined:
    Feb 25, 2004
    Messages:
    1,203
    Likes Received:
    0
    Trophy Points:
    66
    So, i have html file with a line like:
    Code:
    <script data-cfasync="false" type="text/javascript"> fid="RandomString"; v_width=620; v_height=490;</script>
    
    My task is to find fid="RandomString" and copy everything between "" to a text file without using any external software. RandomString is 2-100 characters long.
     
    Last edited: Oct 19, 2012
Thread Status:
Not open for further replies.

Share This Page