내 8,000 (더하기) 레코드 (html 파일)에서 찾기 및 바꾸기를 수행하려고하지만 문제는 바꿀 문자열이 공백을 포함합니다.문자열을 찾고 8,000 + HTML 파일의 공백으로 바꾸는 방법
</head>
의 인스턴스가있는 모든 파일을 찾으므로 <head>
태그가 닫히기 전에 Google Analytics를 삽입 할 수 있습니다.
내 Google 웹 로그 분석은 다음과 같습니다
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'XX-XXXXXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
을 찾은 후 결과는 다음과 같아야합니다
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'XX-XXXXXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
을 내 서버에, 내가 한 FTP & SSH 접속하다. 신속하고 가벼운 대체 방법은 무엇입니까?
감사합니다.
제안 해 주셔서 감사합니다. 할 수있는 방법을 제시해 주시겠습니까? 나는 그 명령에 익숙하지 않다. – Pennf0lio