<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: How do I find text inside php?</title>
	<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php/</link>
	<description>Comments on Ask MetaFilter post How do I find text inside php?</description>
	<pubDate>Wed, 23 Apr 2008 05:18:35 -0800</pubDate>
	<lastBuildDate>Wed, 23 Apr 2008 05:18:35 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: How do I find text inside php?</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php</link>	
		<description>Is there a program that will do a deep text search inside php and html files? &lt;br /&gt;&lt;br /&gt; I have to find a certain text line inside hundreds of php and html files on my computer.&lt;br&gt;
I&apos;ve already used Total Commander and Windows Grep (I have no clue.. just found it while I was searching for an answer) and so far it&apos;s not turned up anything at all.&lt;br&gt;
Anyone know of a program that could help out?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.89579</guid>
		<pubDate>Wed, 23 Apr 2008 05:11:26 -0800</pubDate>
		<dc:creator>czechmate</dc:creator>
		
			<category>searches</category>
		
	</item> <item>
		<title>By: phearlez</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316021</link>	
		<description>UltraEdit, my preferred editor, will find in files. There&apos;s a free trial.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316021</guid>
		<pubDate>Wed, 23 Apr 2008 05:18:35 -0800</pubDate>
		<dc:creator>phearlez</dc:creator>
	</item><item>
		<title>By: moocheen</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316023</link>	
		<description>Have you tried using a &apos;Find in Files&apos; on an slight more advanced than Notepad text editor?&lt;br&gt;
&lt;br&gt;
I&apos;ve used &lt;a href=&quot;http://www.ultraedit.com/downloads/ultraedit_download.html&quot;&gt;Ultra-Edit&lt;/a&gt; quite succesfully for this before..&lt;br&gt;
&lt;br&gt;
I&apos;m sure there are freeware ones floating about too.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
oooh.. beaten on Preview. Bravo phearlez.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316023</guid>
		<pubDate>Wed, 23 Apr 2008 05:20:00 -0800</pubDate>
		<dc:creator>moocheen</dc:creator>
	</item><item>
		<title>By: le morte de bea arthur</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316024</link>	
		<description>Dreamweaver will also do this, although I wouldn&apos;t recommend buying a copy just for that...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316024</guid>
		<pubDate>Wed, 23 Apr 2008 05:22:03 -0800</pubDate>
		<dc:creator>le morte de bea arthur</dc:creator>
	</item><item>
		<title>By: meta_eli</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316032</link>	
		<description>grep will do it too, you just have to take the time to learn to use it. If you interested in learning how UNIX works anywayit might be worth it. You can install cygwin, which is like a mini UNIX environment hat runs in a box on windows.&lt;br&gt;
&lt;br&gt;
Something like:&lt;br&gt;
&lt;em&gt;find . | xargs grep -i searchterm&lt;/em&gt;&lt;br&gt;
would do it.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316032</guid>
		<pubDate>Wed, 23 Apr 2008 05:34:48 -0800</pubDate>
		<dc:creator>meta_eli</dc:creator>
	</item><item>
		<title>By: bricoleur</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316045</link>	
		<description>Tell us what operating system is on your computer.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316045</guid>
		<pubDate>Wed, 23 Apr 2008 06:00:32 -0800</pubDate>
		<dc:creator>bricoleur</dc:creator>
	</item><item>
		<title>By: Jairus</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316072</link>	
		<description>If Windows Grep isn&apos;t finding it, you&apos;re either using it wrong, or it isn&apos;t there.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316072</guid>
		<pubDate>Wed, 23 Apr 2008 06:35:18 -0800</pubDate>
		<dc:creator>Jairus</dc:creator>
	</item><item>
		<title>By: mmascolino</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316074</link>	
		<description>Regardless of your platform, &lt;a href=&quot;http://www.jedit.org/&quot;&gt;jEdit&lt;/a&gt; text editor will work and it has a very powerful yet easy to use search facility.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316074</guid>
		<pubDate>Wed, 23 Apr 2008 06:37:01 -0800</pubDate>
		<dc:creator>mmascolino</dc:creator>
	</item><item>
		<title>By: Wild_Eep</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316090</link>	
		<description>On the Mac, I&apos;d recommend TextWrangler.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316090</guid>
		<pubDate>Wed, 23 Apr 2008 07:04:56 -0800</pubDate>
		<dc:creator>Wild_Eep</dc:creator>
	</item><item>
		<title>By: charlie7691</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316098</link>	
		<description>Windows search looks for text within files. Assuming you have Windows, why not use that?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316098</guid>
		<pubDate>Wed, 23 Apr 2008 07:10:03 -0800</pubDate>
		<dc:creator>charlie7691</dc:creator>
	</item><item>
		<title>By: misterbrandt</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316100</link>	
		<description>A desktop search program (google Desktop, Windows Desktop Search, Yahoo Desktop Search, X1, Copernic, etc). They may not know to treat PHP as plaintext or even index it by default, but each program allows you to customize which file extensions are indexed as plaintext, or allow for plugins to enable additional file types.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316100</guid>
		<pubDate>Wed, 23 Apr 2008 07:10:40 -0800</pubDate>
		<dc:creator>misterbrandt</dc:creator>
	</item><item>
		<title>By: phil</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316104</link>	
		<description>the op is using windows. this is based on the names of the applications she says she has already tried to use.&lt;br&gt;
&lt;br&gt;
zechmate, when you tried using grep what options did you use? if you are trying to match an exact phrase you may have more luck selecting the &quot;Quick (no regular expressions)&quot; search type.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316104</guid>
		<pubDate>Wed, 23 Apr 2008 07:15:42 -0800</pubDate>
		<dc:creator>phil</dc:creator>
	</item><item>
		<title>By: sandpine</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316110</link>	
		<description>Something I&apos;ve found that seems to work on everything I&apos;ve thrown at it is&lt;br&gt;
&apos;Agent Ransack&apos; at www.mythicsoft.com/agentransack. &lt;br&gt;
&lt;br&gt;
It&apos;s very fast. I do account research with it looking for snippits of names or&lt;br&gt;
account numbers. Works well across network links. Been using it for four or&lt;br&gt;
five years.&lt;br&gt;
&lt;br&gt;
YMMV&lt;br&gt;
&lt;br&gt;
SandPine</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316110</guid>
		<pubDate>Wed, 23 Apr 2008 07:20:34 -0800</pubDate>
		<dc:creator>sandpine</dc:creator>
	</item><item>
		<title>By: isoman2kx</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316144</link>	
		<description>I&apos;ll second sandpine&apos;s suggestion. I use the pro version of Agent Ransack (filelocator pro), but if agent ransack is anything like filelocator pro, it&apos;ll be the last search tool you ever need.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316144</guid>
		<pubDate>Wed, 23 Apr 2008 07:55:29 -0800</pubDate>
		<dc:creator>isoman2kx</dc:creator>
	</item><item>
		<title>By: seanyboy</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316153</link>	
		<description>I use &lt;a href=&quot;http://www.textpad.com/&quot;&gt;textpad&lt;/a&gt; for this. It&apos;s equivalent to the other editors mentioned here, so which you use comes down to personal preference. &lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://screencast.com/t/YlDNLzGQO&quot;&gt;Here&apos;s a screencast of me finding text using textpad.&lt;/a&gt;&lt;br&gt;
Note the use of regular expressions.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316153</guid>
		<pubDate>Wed, 23 Apr 2008 08:02:54 -0800</pubDate>
		<dc:creator>seanyboy</dc:creator>
	</item><item>
		<title>By: devlin</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316174</link>	
		<description>grep was the first thing that came to mind. Are you sure it&apos;s actually in the file?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316174</guid>
		<pubDate>Wed, 23 Apr 2008 08:28:42 -0800</pubDate>
		<dc:creator>devlin</dc:creator>
	</item><item>
		<title>By: fishfucker</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316212</link>	
		<description>&lt;i&gt;If Windows Grep isn&apos;t finding it, you&apos;re either using it wrong, or it isn&apos;t there.&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
nthed. &lt;br&gt;
&lt;br&gt;
keep in mind grep *can* be case sensitive. also keep in mind that if you have downloaded these php files from somewhere else, or they&apos;re not actually served from your computer, there is a very good chance the line you want to change is sitting in a database somewhere. perhaps if you give us more information about what these files are meant to do, we can help further. &lt;br&gt;
&lt;br&gt;
Other advice: search for string fragments rather than the entire string in case it is pieced together over the course of several statements. make sure you&apos;re searching recursively through directories.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316212</guid>
		<pubDate>Wed, 23 Apr 2008 09:10:45 -0800</pubDate>
		<dc:creator>fishfucker</dc:creator>
	</item><item>
		<title>By: klanawa</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316216</link>	
		<description>&lt;a href=&quot;http://baremetalsoft.com/baregrep/&quot;&gt;BareGrep&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316216</guid>
		<pubDate>Wed, 23 Apr 2008 09:12:33 -0800</pubDate>
		<dc:creator>klanawa</dc:creator>
	</item><item>
		<title>By: tjvis</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316241</link>	
		<description>I use a great little tool called &lt;a href=&quot;http://www.inforapid.de/html/searchreplace.htm&quot;&gt;InfoRapid Search &amp;amp; Replace&lt;/a&gt;.  You just add the file extensions you want to search, point it to a directory, and go. It will display the instances of the search term in context line by line, and save your searches in tabs. Best of all, it&apos;s free!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316241</guid>
		<pubDate>Wed, 23 Apr 2008 09:36:32 -0800</pubDate>
		<dc:creator>tjvis</dc:creator>
	</item><item>
		<title>By: mphuie</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316367</link>	
		<description>Without installing anything, you can use the command line tool FINDSTR.  I&apos;ve been using it for years with no issues.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316367</guid>
		<pubDate>Wed, 23 Apr 2008 10:52:14 -0800</pubDate>
		<dc:creator>mphuie</dc:creator>
	</item><item>
		<title>By: jenkinsEar</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316471</link>	
		<description>I&apos;d prefer to use cygwin grep myself, but perhaps google desktop search would work better for you?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316471</guid>
		<pubDate>Wed, 23 Apr 2008 12:00:14 -0800</pubDate>
		<dc:creator>jenkinsEar</dc:creator>
	</item><item>
		<title>By: czechmate</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1316554</link>	
		<description>I went so far as searching just for one word in that string of text using Grep, Commander, UltraEdit, BareGrep, InfoRapid, and it&apos;s not finding it. I wanted to make sure it wasn&apos;t just one program not being able to find it, so that&apos;s why I tried them all. (BareGrep was the nicest. I liked seeing the results as I type them in rather than a box showing progress)&lt;br&gt;
I&apos;m guessing this means it doesn&apos;t exist in the files I have. And I have already searched through the MySQL database wondering if the string is there.. and it wasn&apos;t there either. I&apos;m not sure where Google is finding this string of text from. &lt;br&gt;
&lt;br&gt;
Looks like I&apos;ll have to wait a week to ask another question. Heh. &lt;br&gt;
&lt;br&gt;
Thanks everyone.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1316554</guid>
		<pubDate>Wed, 23 Apr 2008 12:57:39 -0800</pubDate>
		<dc:creator>czechmate</dc:creator>
	</item><item>
		<title>By: fishfucker</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1317526</link>	
		<description>is it showing up in a google result but not showing up on the specific page that google attributes it to?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1317526</guid>
		<pubDate>Thu, 24 Apr 2008 08:53:20 -0800</pubDate>
		<dc:creator>fishfucker</dc:creator>
	</item><item>
		<title>By: czechmate</title>
		<link>http://ask.metafilter.com/89579/How-do-I-find-text-inside-php#1317592</link>	
		<description>Ah. Your question fishfucker actually triggered an idea in my head while I was responding to you. &lt;br&gt;
Google is not pulling the &quot;description&quot; from the website.. it&apos;s pulling from the DMOZ entry. I don&apos;t understand why it&apos;s doing that though.  It&apos;s really screwing up the optimization of it. But the DMOZ entry is the exact string I&apos;ve been searching for.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.89579-1317592</guid>
		<pubDate>Thu, 24 Apr 2008 09:37:29 -0800</pubDate>
		<dc:creator>czechmate</dc:creator>
	</item>
	</channel>
</rss>
