<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Extracting a Particular Text Pattern from HTML Files?</title>
	<atom:link href="http://projects11.com/domainname/extracting-a-particular-text-pattern-from-html-files/feed" rel="self" type="application/rss+xml" />
	<link>http://projects11.com/domainname/extracting-a-particular-text-pattern-from-html-files</link>
	<description></description>
	<pubDate>Fri, 23 Dec 2011 22:40:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: humilisquero</title>
		<link>http://projects11.com/domainname/extracting-a-particular-text-pattern-from-html-files/comment-page-1#comment-3350</link>
		<dc:creator>humilisquero</dc:creator>
		<pubDate>Fri, 30 Oct 2009 08:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://projects11.com/domainname/extracting-a-particular-text-pattern-from-html-files#comment-3350</guid>
		<description>Hi

I understand from your question that you want to find all occurrences of the given pattern, with each occurrence potentially having a unique URL. I also assume that you are only interested in the URL, because you cut off the rest of the text in your example of the pattern. I then assume that you wish to manipulate or use the search results or URLs in some programmatic way.

Assuming then that you have some programming experience, I suggest that you write a program or script that uses regular expressions to find the occurrences. The following regular expression pattern should suffice:

javascript:listen\('http://\w+.\w+.\w+[\/\w*.]*'

After some brief testing, this pattern found occurrences like:
1) javascript:listen('http://www.domainname.com'
2) javascript:listen('http://www.mydomainname.com/test/page.svc'

If this helped you in any way, but is not sufficient, you may read more about Regular Expressions here:
http://www.regular-expressions.info/reference.html

There are many programming languages that support the use of regular expressions, e.g. vbscript, Microsoft .NET C#, C++, VB, etc.&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I understand from your question that you want to find all occurrences of the given pattern, with each occurrence potentially having a unique URL. I also assume that you are only interested in the URL, because you cut off the rest of the text in your example of the pattern. I then assume that you wish to manipulate or use the search results or URLs in some programmatic way.</p>
<p>Assuming then that you have some programming experience, I suggest that you write a program or script that uses regular expressions to find the occurrences. The following regular expression pattern should suffice:</p>
<p>javascript:listen\(&#8217;http://\w+.\w+.\w+[\/\w*.]*&#8217;</p>
<p>After some brief testing, this pattern found occurrences like:<br />
1) javascript:listen(&#8217;http://www.domainname.com&#8217;<br />
2) javascript:listen(&#8217;http://www.mydomainname.com/test/page.svc&#8217;</p>
<p>If this helped you in any way, but is not sufficient, you may read more about Regular Expressions here:<br />
<a href="http://www.regular-expressions.info/reference.html" rel="nofollow">http://www.regular-expressions.info/reference.html</a></p>
<p>There are many programming languages that support the use of regular expressions, e.g. vbscript, Microsoft .NET C#, C++, VB, etc.<br /><b>References : </b></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vyshali P</title>
		<link>http://projects11.com/domainname/extracting-a-particular-text-pattern-from-html-files/comment-page-1#comment-3349</link>
		<dc:creator>Vyshali P</dc:creator>
		<pubDate>Fri, 30 Oct 2009 07:45:59 +0000</pubDate>
		<guid isPermaLink="false">http://projects11.com/domainname/extracting-a-particular-text-pattern-from-html-files#comment-3349</guid>
		<description>You have following options

1. get grep for windows, and use it to search your expressions in files.
2. use windows find command, it work like grep, but its not exact match to grep.

following options are available with find

C:\&#62;find /?
Searches for a text string in a file or files.

FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] &#34;string&#34; [[drive:][path]filename[ ...]]

  /V         Displays all lines NOT containing the specified string.
  /C         Displays only the count of lines containing the string.
  /N         Displays line numbers with the displayed lines.
  /I         Ignores the case of characters when searching for the string.
  /OFF[LINE] Do not skip files with offline attribute set.
  &#34;string&#34;   Specifies the text string to find.
  [drive:][path]filename
             Specifies a file or files to search.

If a path is not specified, FIND searches the text typed at the prompt
or piped from another command.

I hope this helps
for any help send a mail to help@paijwar.com&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;http://www.paijwar.com</description>
		<content:encoded><![CDATA[<p>You have following options</p>
<p>1. get grep for windows, and use it to search your expressions in files.<br />
2. use windows find command, it work like grep, but its not exact match to grep.</p>
<p>following options are available with find</p>
<p>C:\&gt;find /?<br />
Searches for a text string in a file or files.</p>
<p>FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] &quot;string&quot; [[drive:][path]filename[ ...]]</p>
<p>  /V         Displays all lines NOT containing the specified string.<br />
  /C         Displays only the count of lines containing the string.<br />
  /N         Displays line numbers with the displayed lines.<br />
  /I         Ignores the case of characters when searching for the string.<br />
  /OFF[LINE] Do not skip files with offline attribute set.<br />
  &quot;string&quot;   Specifies the text string to find.<br />
  [drive:][path]filename<br />
             Specifies a file or files to search.</p>
<p>If a path is not specified, FIND searches the text typed at the prompt<br />
or piped from another command.</p>
<p>I hope this helps<br />
for any help send a mail to <a href="mailto:help@paijwar.com">help@paijwar.com</a><br /><b>References : </b><br /><a href="http://www.paijwar.com" rel="nofollow">http://www.paijwar.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.190 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2011-12-23 17:40:37 -->

