Replace Pioneer Home
All Examples
Free Download
all
Advanced search and replace
Replace text in multiple files
Regular expression replace
Batch file rename
Batch download
Text file parser
Text file splitter
Html text generator
Search replace binary
Random word generator
Count and statistics
Character encoding
Bin Hex Oct Dec converter
Text generator
Text sort
Text merge
Text data calculation
RSS: Replace Pioneer Examples
457.Advanced search and replace -- How to change the format of url and add ".htm" at end?
User:
nicetin -- 2010-03-23
<< 456
458 >>
Hits:
14297
Type:
Advanced search and replace
Search all
Advanced search and replace
examples
Description:
How to add the ".htm" into a mixed char and number and symbol.
Input Sample:
list.php?catid=50010850">
Output Sample:
list-50010850.htm">
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open source text(or html) file
2. ctrl-h open 'replace' window
* in 'Search for pattern', enter:
list.php\?catid=(\d+)">
* in 'Replace with pattern', enter:
list-$1.htm">
3. click 'Replace', done.
4. ctrl-s save to file
Download Script:
scripts/457.rst.zip
Screenshot 1: Replace_Window
Similar Examples:
How to change the many urls in html to ids in sequence?
(65%)
How to change text file format with user specified rules?
(57%)
How to batch change format of multiple files?
(57%)
How to change the location of all numbers randomly?
(55%)
How to change the numbering format in a text file to a new format?
(53%)
How to change all files that contains words "RRR" to read-only?
(53%)
How to batch change a lot of xml files, adding all <ID> by 1?
(53%)
How to change http address to hyperlink?
(53%)
Check Demo of
Advanced search and replace
Keywords:
mix
php
url
how to change the format of
symbol
sym
format
html
htm
list
url format replace
add url
replace url
html format
symbol pattern
file number format
replace symbol
end with number