copy and paste page info web

I'm a bit new to coldfusion and I cannot figure out how to do something...

lets say there is a web page with these texts

Hi bye abc

Hi bye 123

Hi a1b2 c3 bye

I want to create a page that will go to a specific web page and looking through this web page for the word salvation and then enter the following text until the bye Word... then it will place these text in a file... so, for example, it will only copy the text

ABC

123

a1b2 c3

.. .and paste it into a file

is this possible?

can someone please point me in the right direction, I've been at this for almost two days!

Thanks in advance.

cfquery_select_name wrote:

I want to create a page that goes to a specific web page

If you want to perform an HTTP from a web page, what would be the purpose of the Tag.

cfquery_select_name wrote:

Search through this web page

So, you want to find text in the content returned by the query.  the functions find() and refind() (probably the later) would be useful here.

cfquery_select_name wrote:

.. .and paste it into a file

Finally you want to write the output to a file.  The would be the first choice for this task.

Which leaves just the actual search.  As I said I would probably try a REFIND that uses a regular expression syntax to search for the text you want.  Something like this example not tested on top of my head should help you get started.

Then finally a loop on this code to find each instance of the station you want.

cfquery_select_name wrote:

is this possible?

Quite possible, it should take only a few trails and error and by looking at the documentation.

Tags: ColdFusion

Similar Questions

  • Copy and paste pages

    Hello

    Any suggestions help!

    I created a website with different products. Two other company sells the same products if I still do a lot of pages / products for the second company (all inside my web)

    As Muse allow copy and paste pages or a group of pages how can I manage to not do once again that hard work, as well as modify master pages (logos and so forth)

    Any idea to save the first page "save under" and start a new folder?

    Any idea / suggestion appreciatted

    Jose Felix

    Muse supports slide it / move, in order to open the two pages where you transfer the content, and the other where the content will be transferred, and then you can drag the content.

    Thank you

    Sanjit

  • avoid copy and paste of my Web site

    What is the best was to prevent a person copy and paste of my Web site

    Short answer: you can't prevent.

    Long answer: not to publish sensitive content on the web.

    Watermark images strongly with the URL of your name & web site.

    Add a copyright notice to your web pages.

    If people have a spirit, they can copy anything on the web by taking a screenshot. It is, therefore, no need to worry about this.

    Nancy O.

  • Problem copying and pasting from a Web site

    Hi, I'm under InDesign CS6 on Win 7 64 bit. < browser: Chrome 31 >

    I usually need to copy the elements of a Web site and keep them or print them out later, but in any case, my problem is that I need to copy what I have to get stuck as it is in InDesign with all fonts and styles of title intact. In addition, the images are not glued at all when there are two a mix of text and images on a Web site that gets the text pasted not the image, the image should be copied separately.

    Help, please...

    If you have MS Office installed on your system, you can copy the web page and then paste into MS (make sure you're selected Paste from other programs: Keep Source Formatting (by default) on the Advance of the Word Options tab.)

    What place the word document in indesign, select The show Import Options, MS word import options check to preserve Styles and formatting of the text and inserted graphics tales & Import.

  • How to add, or copy and paste, pages

    Hi, if I'm in a file and you want to extract a few pages, but not the entire file to another file, is there a quick way to do it? I know that you can extract the pages in a separate file, save the file, and then insert or combine with another file, but it may take some time.

    So is there an easy way to do it?

    Thank you very much.

    Move the tile on the other document navigation panel. More information using Adobe Acrobat.

  • 5.24.13 - copy and paste a web page by right-clicking in Word

    I am running Vista. All sudden several months ago when copying and pasting a web page by right-clicking in Word, all glued were HTML code instead of the desired content like images, text, pictures, layout, etc.  Maybe I inadvertingly changed a setting but am not sure.  Can you help me? Thanks for any idea or suggestion.

    Hello

    As I tried today with MS office 2013 word it works well. You mean it's looking like

    First name:

    You want to say what version of MS office that you are using?
    The browser you are trying to copy HTML pages?

    I suggest you do

    • Open a web browser such as Windows Internet Explorer by clicking on the button 'Start' at the bottom left and double-click on "Internet Explorer" in the list of programs.
    • View the Web page that you want to copy, then click on the tab 'Edit' at the top of Internet Explorer
    • Click "Select all" to highlight all the content of the Web page, then click on the right button of the mouse and select 'Copy' in the menu dropdown. This copy of the entire Web page in a temporary memory Clipboard.
    • Open a blank Word document by clicking on the "Start" button, choose "All programs", click on "Microsoft Office" and clicking on "Microsoft Word."
    • Click on the tab 'Edit' at the top of the screen of Word, and then choose "paste special."
    • Select which option paste best suited to your needs. For example, the option "Format HTML" will paste the page copied with all hyperlinks, images, and text formatting intact. "Formatted text" option will stick to the text of a Web page without any of the original, separators of section columns or other formats.

    Click 'OK' to copy the Web page in the Word template.

    Hope this helps, if same problem restore your system to an earlier time

  • When I try to highlight the text my cursor turns into a hand/fist who just drag the page. I need to be able to highlight, copy and paste text.

    I have to be able to highlight text on web pages, copy and paste. But when I click on my mouse left button, he made a hand / fist which simply dragged the page.
    How can I get to where I can highlight text?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox, Tools/menu key > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox, Tools/menu key > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • When I copy and paste a web title, why does more extra code ("see more: article link")?

    I'm used to be able to copy a title and only get the title. Example: "Nuncio urges bishops to attend the faith to the youth."

    Now, this is what happens when I copy and paste: Nuncio urges bishops to witness to the faith to the youth - see more at: https://www.osv.com/OSVNewsweekly/ByIssue/Article/TabId/735/ArtMID/13636/ArticleID/16393/Nuncio-urges-bishops-to-witness-the-Faith-to-young-people.aspx#sthash.D3iYiB2H.dpuf

    I don't want to link and a code extra stuff. I want the preference goes out. Help, please!

    I marked and copied this;
    Nuncio urges bishops to witness to the faith to the youth

    That's what was pasted;

    Nuncio urges bishops to witness to the faith to the youth - see more at: https://www.osv.com/OSVNewsweekly/ByIssue/Article/TabId/735/ArtMID/13636/ArticleID/16393/Nuncio-urges-bishops-to-witness-the-Faith-to-young-people.aspx#sthash.D3iYiB2H.nNtj5A3E.dpuf

    It has something to do with the web page itself.

  • Copy and paste a link from Web site

    Hello

    One simple question.

    How can I copy and paste a website address, and add as one link in an e-mail, text or another?

    I don't know how copy and paste text, but the same method seems to not work for the pages of the site.

    Thank you

    If you use Chrome:

    -On the address bar, type once to bring up the full address of the Web page, and then double-tap on the address to mark.

    -Shortcuts for cut, copy and paste will appear. Choose copy (two sheets of paper icon).

    -Use "recent applications" button display to navigate through the newly opened app and choose your e-mail application.

    -Press the message box and choose the paste option.

  • I've lost the ability in pages of copy and paste graphics

    I really like the pages if I need to copy and paste something, IE recipes with photos, but for some reason that my request has lost this function. Can someone help me please.

    I'm on iMac 10.5 Maverick.

    Lynne

    What specific version of Pages is in use (menu Pages: pages)? Apple logo: free from the about this Mac for the current version of your Mac OS X.

    Text is simply copied and pasted, but document objects (images, tables, forms, text box, graphics, etc.) must be singularly selected, copied and pasted between documents.

  • Firefox does not allow me to copy and paste the content of Web sites. How can I solve this problem?

    When I enter this site, there are some areas that FIrefox will allow me to copy and paste. However, if the content is in the pictures, I get a message indicating that options copy/cut/paste is not available in Mozilla and Firefox. Then, the info box wonder if I want more information or to cancel the request. When I ask for more information, the system provides information on changing preferences; However, these measures do not seem to work for me. Help, please.

    Thank you.

    What measures have you tried - prefs.js or user.js edition?

    My recommendation would be to use Windows shortcuts to cut, copy and paste: Ctrl + x, Ctrl + c and Ctrl + v. You can also use the context menu for these actions. On most websites, you don't really need to use the buttons for these features.

  • When I copy and paste a web address into an e-mail he did not point out to allow a simple click on the receiver. Is there a way I can do this in Firefox?

    It is quite a common event to send friends a thread in a web address for interesting articles or videos (Youtube URL). To make current means that you do a copy and paste into the email. When I was with Aol address presented in bold that allowed the recipient to click on the address to be connected instead of making a copy and paste into the address bar. Is there a way that this can be done in Firefox?

    Thanks a lot, I had this problem for so long now. Yours is the only solution that makes it clear how to solve. Still don't understand not why it does not automatically in Firefox as it does in IE but good is not a big constraint... and it does not use new IE! See you soon

  • How to copy and paste text from the page of the book one photo to another.

    Hello, I downloaded this software 2 days ago, and I had so much fun with it. pls I need help on how to copy and paste text from the page of the book one photo to another. Second, how to copy my photo book completed pages project to another laptop computer for printing. Thank you

    Wow! I solved the first problem, I clicked on 'ctrl c' to copy and "ctrl v" to paste. yipppppeee! now am loving this software d most just need help with the second question now

  • feature request: copy and paste the pages between projects

    Do not copy and paste content. I look forward to resizing or do the copy paste several times to get it brought to the course. Just make a seamless drag and drop pages of projects possible and I would be happy

    There are already two ways you can do it now:

    1: add content to a library and then drag

    2: drag the tab for your two pages of the tab bar so you can have them both open at the same time. You can even select multiple items at once and drag them to.

  • How can I copy and paste a page in the same DC Adobe .pdf?

    How can I copy and paste a page in the same DC Adobe .pdf?

    Open the Page thumbnails. You can select the pages and then drag the pages. When you hold down the CTRL key you can copy pages.

Maybe you are looking for