Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    script to pull data

    hi all
    i m new to scripting and
    i m looking for a script with with i can pull all the number from a web link
    is it possibel to do so , if yes kindly help me how to do it

    thanks

  • #2
    Regular Coder ralph l mayo's Avatar
    Join Date
    Nov 2005
    Posts
    951
    Thanks
    1
    Thanked 31 Times in 29 Posts
    Ruby:
    Code:
    require 'net/http'
    require 'uri'
    raise ArgumentError, 'Pass an URL as the first param, tia' unless ARGV[0]
    puts Net::HTTP.get(URI.parse(ARGV[0])).gsub(/[^\d]/, '')

  • #3
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ralph l mayo View Post
    Ruby:
    Code:
    require 'net/http'
    require 'uri'
    raise ArgumentError, 'Pass an URL as the first param, tia' unless ARGV[0]
    puts Net::HTTP.get(URI.parse(ARGV[0])).gsub(/[^\d]/, '')
    thanks but not able to hunderstand as i m totally new to programing
    can u provide help in details

  • #4
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by apps View Post
    thanks but not able to hunderstand as i m totally new to programing
    can u provide help in details
    hi anyone on this


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •