|
|
QuickFix List of Categories
- How do I replace one existing line with two or more lines?
- How do I replace string with special characters?
- Can I update multiple files in one process?
- Does Qucik Fix replace strings on my local Hard Drive?
- How will I know if the action was successful?
-
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.
-
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.
-
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.
-
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.
-
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.
|
|
|