We accept safe and secure Credit Card and PayPal Payments.
 
Perl Scripts

All Count
Attachment Mailer
Perl Scripts Build A FAQ Plus
Perl Scripts Clock In Center
eBackup Automated
Easy Poll
eSurvey
Fetch a File
Form Maker
Mailing List Server
MySQL Mate
PDF Creation
QCart
Quick Fix
Quote of the day
Speed Search
Task Manager
Traffic Pack
Upload Plus
Upload Gold
Upload Pro
Website Manager

 
Free Perl Downloads

Free Perl Scripts Main Page
Free Perl Scripts 404 Alerter
AccessLog Viewer
Build A FAQ
PHP Scripts eBackup
Free PHP Scripts ErrorLog Viewer
eVars - Server Info
HT Pass Creator
Upload Lite
Website Manager

 
JavaScripts

Free Java Scripts Alert Boxes
Free JavaScripts Browser Sniffer
Check email
Generators
Slide Show
Sudoku
Window Maker
More...

 
Extra Utilities

ASP Scripts Ascii Codes
Free ASP Scripts Color Picker
Font Finder
HT Pass Creator
Meta Cloak
Meta Magic
Pano Zooms
SlideShow
Server Size

 
Online Tutorials

Free HTML Scripts Glossary
Free HTML Scripts HTML
JavaScript
MySQL
SSI
Build Traffic
Other

 
Miscellaneous

About Us
Graphics
Testimonials
Installations
Latest versions

 
Hawk Eye in Tennis

Should Hawk Eye replace linesmen and lineswomen at all tennis tournaments?







 
View all Polls

Run Polls on your site

Run your own Surveys

 
Store Download FAQs Contact Us Support Programming Policies  
Printer Friendly

QuickFix     List of Categories

  1. How do I replace one existing line with two or more lines?

  2. How do I replace string with special characters?

  3. Can I update multiple files in one process?

  4. Does Qucik Fix replace strings on my local Hard Drive?

  5. How will I know if the action was successful?







  1. How do I replace one existing line with two or more lines?

    Use the Unix newline character which is a lowercase n preceded by a slash: \n

    Here's an example:

    Find: Maple Syrup
    Replace: Maple \n Syrup \n is \n tasty

    Be sure to check the Reg Exp option. The spaces are option in the Replace string.

    Top of Page



  2. How do I replace string with special characters?

    The same way you'd replace any regular string of characters, except you need to escape the special characters with a slash. Special characters include slashes, brackets and braces, colons and semi-colons, the @ symbol, dollar sign and others. For example, here's a PHP include statement that is to be replaced with two new statements on separate lines. Note how the special characters are escaped in the Find string.

    Find: include\('..\/config.php'\)\;
    Replace: include('../confignew.php');\ninclude('../ad_network.php');

    Because we're adding a new line, we need to check the Reg Exp option.

    Top of Page



  3. Can I update multiple files in one process?

    Yes, your entire directory structure is listed. Select all directories you'd like to perform the action on.

    Top of Page


  4. Does Qucik Fix replace strings on my local Hard Drive?

    No, it only works on servers/computers that have Perl installed and a functioning cgi-bin.

    Top of Page


  5. How will I know if the action was successful?

    Quick Fix will return a list of files susccessfully modified which you can then select and load in a browser to see the results.

    Top of Page


Was this page helpful?    
Speed Search our site
Plesk Hosting
Linux servers with Plesk Control Panel, cgi-bin, crontab manager, Mysql, PHP and ASP.

Survey Software
Create unlimited web based surveys on your website from your website

Discounted Scripts
Subscribe to our periodial newsletter to receive special offers.

Bathroom Hygiene
How often do you thoroughly clean your bathroom?








View all Polls

Run Polls just like this one on your website!


About us | Contact us | Script FAQs | Script Support | Website Hosting | Our Policies | Store | Testimonials
Subscribers log in here. Subscribe to our periodical newsletter for special offers on commercial scripts, hosting, exciting business opportunities, and industry news and events. Our Mailing List Software is powered by Consolidator    
HTML Plain text
©1999 - 2015 All content Copyright PerlScriptsJavaScripts.com Proudly hosted by LinuxHostingPlans.com