Html Text/Link Generator, Converter

Text_file_splitter  Search_replace_binary 
Support various data input source
* Can search and replace all plain text file like txt/html/xml/cpp/asp/...
* Can search and replace "text string" or "binary data" from binary files
* Can extract and replace text or html content from web page
* Can get source text from DOS command output
* Can batch search and replace doc and pdf file

Html to text conversion

Example:

Replace html to text.

Html text generator

Replace settings:

1) Search for pattern=.*

2) Replace with pattern=html_to_text($match)


Html to link conversion

Example:

Open webpage and extract links directly

Procedures:

1) Open menu: File->Load->WWW Page

2) Enter url, and set type to "links"

Html text generator

3) Click "OK", all links will be extracted from url

Html text generator

Example:

Open html file and extract links

Html text generator

Procedures:

1) ctrl-o open source html file

2) ctrl-h open replace window

3) set "Replace with pattern" to html_to_link($match)

4) click "Replace", done!


Text to html conversion

Example:

Replace text to html.

Html text generator

Replace settings:

1) Replace Unit=line

2) Search for pattern=.*

3) Replace with pattern=<p>$match<p>\n

4) Advanced Page-> Begin Text: <html><body>

5) Advanced Page-> End Text: </html></body>

Notes:

For batch replace files, please refer to Replace Pioneer help manual.


', '>',$fString); $fString = str_replace( '<', '<',$fString); $fString = str_replace( chr(32), ' ',$fString); $fString = str_replace( chr(13), ' ',$fString); $fString = str_replace( chr(10) & chr(10), '
',$fString); $fString = str_replace( chr(10), '
',$fString); } return $fString; } function show_pages($page,$MaxPage,$colname_rs) { echo " Page:$page/$MaxPage    "; if ($MaxPage<=1) {return;} echo "Goto: "; if ($page>1) { $prevPage=$page-1; echo "\"Previous  "; } for($p=$page-10;$p<=$page-1;$p++) { if ($p>0) { echo "$p ";} } echo "$page "; for($p=$page+1;$p<=$page+10;$p++) { if ($p<=$MaxPage) { echo "$p ";} } if ($page<$MaxPage) { $nextPage=$page+1; echo " \"Next "; } echo ""; } //$dbid = mysql_connect($hostname,$dbuser,$dbpasswd) or die(""); //mysql ServerNorthWind //$db = mysql_select_db("mindp9_test",$dbid) or die(""); //SQL $query = "SELECT * FROM ("; for($i=0;$i $MaxPage) $page=$maxPage; ?>

Other Examples of "" " .HtmlEncode($arr[2]).""; } //if }//for echo "
"; }//if ?> Search all "" examples