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

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

 
Free Perl Downloads

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

 
JavaScripts

Alert Boxes
Browser Sniffer
Check email
Generators
Sudoku
Window Maker
More...

 
Extra Utilities

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

 
Online Tutorials

Glossary
HTML
JavaScript
MySQL
SSI
Build Traffic
Other

 
Miscellaneous

About Us
Graphics
Testimonials
Installations
Latest versions

 
Flash poll

Does your Website use Flash?






View all Polls

Purchase Easy Poll for your site, only $29

Run Surveys on your site. Click here
 
Global Warming

Your energy bills doubled in exchange for clean energy such as wind and solar power?






View all Polls

Run Polls on your site. Click here

Run Surveys on your site. Click here
 
  Store   Download   FAQs   Contact Us   Support   Custom Programming   Policies
The ultimate Survey and Quiz manager Survey your clients or employess with your own unique Surveys and Quizzes on your website.

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

Search script for your site
Mailing list management made easy
Xizzo : PC Password Manager
Survey Software
Create your own fully customized web based Surveys. Only $39.00

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

Global Warming
Your energy bills doubled in exchange for clean energy such as wind and solar power?






View all Polls

Run Polls on your site. Click here
About us | Contact us | Script FAQs | Script Support | Website Hosting | Our Policies | Store | Testimonials
Subscribe to our periodical newsletter and receive notifications of Perl Script updates, new CGI Script releases and Special discounted offers. Existing Subscribers log in here.    
HTML Plain text
©1999 - 2007 All content Copyright PerlScriptsJavaScripts.com Proudly hosted by LinuxHostingPlans.com