Page is a not externally linkable
- Code, Content, and Presentation
-- WYSIWYG and Text Code Editors
---- Multi-line Find & Replace


thealexangroup - 7:50 pm on Jan 20, 2008 (gmt 0)


to steve40,

will AFR be able to search/replace one line of code for a multi-lined code? example below:

replace this: <!--siteid="123"; sitename...one-lined string...//-->

with this:

<script type="text/javascript">
<!--
naa_siteid="12345678"; naa_sitename="example.com"; naa_test="no";
//-->
</script>
<script type="text/javascript" src="http://aa.somedomainname.com/naa_1x1.js"></script>

in order for code to work it cannot be on a one lined string.
" <!-- " AND " //--> " have to be on their own line.

thanx,

alx

[edited by: tedster at 8:06 pm (utc) on Jan. 20, 2008]
[edit reason] use example.com [/edit]


Thread source:: http://www.webmasterworld.com/html_editors/3547142.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com