<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/5901" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-10-21T19:01:15-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/5901</id>

		<entry>
		<author><name><![CDATA[Dedan]]></name></author>
		<updated>2003-10-21T19:01:15-04:00</updated>

		<published>2003-10-21T19:01:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28758#p28758</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28758#p28758"/>
		<title type="html"><![CDATA[regsub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28758#p28758"><![CDATA[
thanks egghead  ... i kept thinking<br> "^" ment "only the first letter" but that<br>is when it outside the brackets  ... thanks.<br><br>finial code<br><br>regsub -all -- {[^ A-Za-z0-9]} $text "x" text<br><br>thanks again egghead    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3472">Dedan</a> — Tue Oct 21, 2003 7:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-10-21T16:13:58-04:00</updated>

		<published>2003-10-21T16:13:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28756#p28756</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28756#p28756"/>
		<title type="html"><![CDATA[Re: regsub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28756#p28756"><![CDATA[
<blockquote class="uncited"><div>i want a regsub command that replaces ALL charcters with "x"<br>except a-z , A-Z and 0-9<br><br>regsub -all -- {![A-Za-z0-9]} $text "x" text<br><br>thanks</div></blockquote>In regular expressions:<br><blockquote class="uncited"><div>[a-z] : match range of characters<br>[^a-z] : match characters not in range</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Tue Oct 21, 2003 4:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dedan]]></name></author>
		<updated>2003-10-21T14:47:55-04:00</updated>

		<published>2003-10-21T14:47:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28753#p28753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28753#p28753"/>
		<title type="html"><![CDATA[regsub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28753#p28753"><![CDATA[
would you please help me,<br>i have a 300 line script that has only 1 bug left.<br>i have been trying for days to get this 1 bug out.<br>the bug has to do with charcters. : = &lt; &gt; ¶ etc.<br><br>i need a regsub command.<br>I have read the manuals and tried until i have given up.<br>please help.<br><br>i want a regsub command that replaces ALL charcters with "x"<br>except a-z , A-Z and 0-9<br><br><br>regsub -all -- {} $text "x" text<br><br>regsub -all -- {![[:alnum:]]} $text "x" text<br>regsub -all -- {![A-Za-z0-9]} $text "x" text<br><br><br><br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3472">Dedan</a> — Tue Oct 21, 2003 2:47 pm</p><hr />
]]></content>
	</entry>
	</feed>
