<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: [sharing is fun] some regexp examples</title>
		<atom:link href="http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 04:47:50 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-26884</guid>
					<title><![CDATA[[sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-26884</link>
					<pubDate>Sat, 22 Jul 2006 17:28:37 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>regexp is incredibly useful, but to the newbie, it tends to look more like cartoon cursing than logical manipulation.  Here&#8217;s some useful regexp&#8217;s that I&#8217;ve figured out, including a comment on using regexp in javascript, which you should be able to extend to other needs.</p>
<p>Here&#8217;s a menu of the functions:<br />
parse extension<br />
only directory path<br />
directory name (like strippath for a folder)<br />
force extension<br />
get hard drive name<br />
strip path<br />
strip trailing slash<br />
get standalone application location<br />
remove last directory (go back)</p>
<p>
#P window setfont Geneva 9.;<br />
#P window linecount 14;<br />
#P comment 29 619 261 196617 function dirname(path) { var tosplit = path ; var reg1 = new RegExp(&#8220;(.*)(\\/.*)&#8221;) ; var noslash = tosplit.split(reg1) ; //post(noslash[0] , &#8220;&#8211;&#8221; , noslash[1] , &#8220;&#8211;&#8221; , noslash[2] , &#8220;n&#8221;) ; var reg2 = new RegExp(&#8220;(.*\\/)(.*$)&#8221;) ; var dirs = noslash[1].split(reg2) ; //post(dirs[0] , &#8220;&#8211;&#8221; , dirs[1] , &#8220;&#8211;&#8221; , dirs[2] , &#8220;n&#8221;) ; //post(&#8220;name&#8221; , dirs[2] , &#8220;n&#8221;) ; return dirs[2] ; };<br />
#P window linecount 1;<br />
#P comment 28 600 198 196617 Here&#8217;s a Javascript version of the above:;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 322 205 187 131137545 FORCE EXTENSION;<br />
#P comment 561 204 187 131137545 GET STANDALONE APP LOCATION NAME;<br />
#P newex 622 252 47 131137545 loadbang;<br />
#P comment 23 173 134 131137545 ONLY THE DIRECTORY PATH;<br />
#P comment 37 25 100 131137545 PARSE EXTENSION;<br />
#P window linecount 3;<br />
#P message 427 33 138 131137545 Harddrive:/Sou!nds/Assorted Samples. 3 /Harp/003Harp Strums .3.mp3;<br />
#P window setfont Geneva 9.;<br />
#P window linecount 1;<br />
#P comment 39 372 147 196617 DIRECTORY NAME;<br />
#P comment 28 569 147 196617 note: must have trailing slash!;<br />
#P comment 29 553 232 196617 like strippath for folders;<br />
#P comment 29 538 238 196617 turns &#8220;HD:/folder1/folder2/media/&#8221; into &#8220;media&#8221;;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P message 98 402 303 131137545 Harddrive:/Sou!nds/Assorted Samples. 3 /Harp/003Harp Strums .3.mp3;<br />
#P newex 38 518 49 131137545 print path;<br />
#P comment 600 423 100 131137545 GO BACK;<br />
#P comment 678 515 120 131137545 strip everything after last /;<br />
#P newex 601 539 64 131137545 print GoBack;<br />
#P message 601 438 247 131137545 Harddrive:/Sou!nds/Assorted Samples/In yer face/;<br />
#P newex 601 454 50 131137545 tosymbol;<br />
#P newex 601 473 98 131137545 regexp (.*)(\\/.*);<br />
#P comment 700 474 100 131137545 strip trailing slash;<br />
#P newex 601 492 47 131137545 zl ecils 1;<br />
#P newex 601 514 75 131137545 regexp (.*\\/).*$;<br />
#P newex 59 497 47 131137545 zl ecils 1;<br />
#P comment 126 476 120 131137545 strip everything after last /;<br />
#P newex 104 520 86 131137545 print JustDirectory;<br />
#P message 37 386 247 131137545 Harddrive:/Sou!nds/Assorted Samples/In yer face/;<br />
#P newex 37 404 50 131137545 tosymbol;<br />
#P newex 36 426 98 131137545 regexp (.*)(\\/.*);<br />
#P comment 135 427 100 131137545 strip trailing slash;<br />
#P newex 43 452 47 131137545 zl ecils 1;<br />
#P newex 43 474 81 131137545 regexp (.*\\/)(.*$);<br />
#P message 22 189 171 131137545 Eonta:/Sounds/Assorted Samples/Harp;<br />
#P button 446 462 15 0;<br />
#P newex 408 463 33 131137545 v app;<br />
#P message 337 444 247 131137545 Harddrive:/Sou!nds/Assorted Samples/In yer face/;<br />
#P newex 394 542 59 131137545 print Slash;<br />
#P newex 335 542 55 131137545 print Path;<br />
#P newex 360 516 51 131137545 zl ecils 1;<br />
#P newex 337 463 50 131137545 tosymbol;<br />
#P newex 336 485 79 131137545 regexp (.*)(:\\/.*);<br />
#P comment 338 430 71 131137545 GET HD NAME;<br />
#P message 613 38 247 131137545 Harddrive:/Sou!nds/Assorted Samples/In yer face/;<br />
#P newex 670 135 59 131137545 print Slash;<br />
#P newex 611 135 55 131137545 print Path;<br />
#P newex 636 109 51 131137545 zl ecils 1;<br />
#P newex 613 56 50 131137545 tosymbol;<br />
#P newex 612 78 98 131137545 regexp (.*)(\\/.*);<br />
#P comment 613 22 112 131137545 STRIP TRAILING SLASH;<br />
#P newex 485 152 51 131137545 print File;<br />
#P newex 426 152 55 131137545 print Path;<br />
#P newex 451 126 51 131137545 zl ecils 1;<br />
#P newex 428 73 50 131137545 tosymbol;<br />
#P newex 427 95 98 131137545 regexp (.*\\/)(.*);<br />
#P newex 135 138 69 131137545 print THEEXT;<br />
#P newex 33 137 96 131137545 print NOEXTENSION;<br />
#P message 340 237 99 131137545 my friend is mookie;<br />
#P message 323 221 115 131137545 jones is a tweeker.mov;<br />
#N vpatcher 172 206 452 560;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P newex 50 53 50 131137545 tosymbol;<br />
#P newex 49 288 80 131137545 sprintf %s.mov;<br />
#P newex 75 201 21 131137545 t 2;<br />
#P newex 51 222 47 131137545 gate 2 1;<br />
#P newex 50 76 40 131137545 t s s 1;<br />
#P newex 75 179 59 131137545 match mov;<br />
#P newex 75 152 51 131137545 zl ecils 1;<br />
#P newex 50 123 123 131137545 regexp (.*\\.)([\\w]*);<br />
#P inlet 50 30 15 0;<br />
#P outlet 49 310 15 0;<br />
#P window setfont Geneva 9.;<br />
#P comment 111 50 100 196617 if a file has the .mov extension , it passes. if it doesn , the .mov is added;<br />
#P connect 7 0 9 0;<br />
#P connect 7 1 1 0;<br />
#P connect 9 0 1 0;<br />
#P connect 2 0 10 0;<br />
#P connect 10 0 6 0;<br />
#P connect 6 1 3 0;<br />
#P connect 6 2 7 0;<br />
#P connect 8 0 7 0;<br />
#P connect 3 1 4 0;<br />
#P connect 4 1 5 0;<br />
#P connect 5 0 8 0;<br />
#P connect 6 0 7 1;<br />
#P pop;<br />
#P newobj 321 258 76 131137545 p alwaysAddExt;<br />
#P newex 321 283 77 131137545 print AUTOEXT;<br />
#P message 572 234 219 131137545 re &#8220;(.*\\/)Application Name.app/Contents/MacOS/$&#8221;;<br />
#P message 559 216 383 131137545 Eonta:/Sounds/Assorted Samples/Harp/AppFolder/Application Name.app/Contents/MacOS/;<br />
#P newex 559 300 69 131137545 print APPDIR;<br />
#P newex 559 250 50 131137545 tosymbol;<br />
#P newex 559 276 66 131137545 regexp;<br />
#P message 34 208 267 131137545 Eonta:/Sounds/Assorted Samples/Harp/Harp Strums.aif;<br />
#P newex 46 291 50 131137545 print DIR;<br />
#P newex 23 242 50 131137545 tosymbol;<br />
#P newex 23 268 95 131137545 regexp (.*\\/).*$;<br />
#P message 36 39 305 131137545 Harddrive:/Sou!nds/Assorted Samples. 3 /Harp/003Harp Strums .3.mp3;<br />
#P newex 58 111 51 131137545 zl ecils 1;<br />
#P newex 35 58 50 131137545 tosymbol;<br />
#P newex 34 80 123 131137545 regexp (.*\\.)([\\w]*);<br />
#P comment 427 21 100 131137545 STRIP PATH;<br />
#P connect 8 0 6 0;<br />
#P connect 41 0 6 0;<br />
#P connect 6 0 5 0;<br />
#P connect 3 0 18 0;<br />
#P connect 2 0 1 0;<br />
#P connect 4 0 2 0;<br />
#P connect 46 0 45 0;<br />
#P connect 47 0 46 0;<br />
#P connect 61 0 46 0;<br />
#P connect 50 0 60 0;<br />
#P connect 45 1 43 0;<br />
#P connect 43 0 42 0;<br />
#P connect 5 1 7 0;<br />
#P connect 1 1 3 0;<br />
#P connect 42 1 50 0;<br />
#P connect 50 1 48 0;<br />
#P connect 3 1 19 0;<br />
#P connect 16 0 15 0;<br />
#P connect 17 0 15 0;<br />
#P connect 15 0 14 0;<br />
#P connect 35 0 36 0;<br />
#P connect 34 0 33 0;<br />
#P connect 39 0 34 0;<br />
#P connect 38 0 34 0;<br />
#P connect 33 1 35 0;<br />
#P connect 35 1 37 0;<br />
#P connect 40 0 39 0;<br />
#P connect 22 0 23 0;<br />
#P connect 21 0 20 0;<br />
#P connect 66 0 21 0;<br />
#P connect 20 1 22 0;<br />
#P connect 22 1 24 0;<br />
#P connect 12 0 10 0;<br />
#P connect 10 0 9 0;<br />
#P connect 13 0 9 0;<br />
#P connect 9 1 11 0;<br />
#P connect 9 3 11 0;<br />
#P connect 69 0 13 0;<br />
#P connect 56 0 55 0;<br />
#P connect 55 0 54 0;<br />
#P connect 54 1 52 0;<br />
#P connect 52 0 51 0;<br />
#P connect 51 1 57 0;<br />
#P connect 28 0 29 0;<br />
#P connect 27 0 26 0;<br />
#P connect 31 0 27 0;<br />
#P connect 26 1 28 0;<br />
#P connect 28 1 30 0;<br />
#P window clipboard copycount 74;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80863</guid>
					<title><![CDATA[Re: [sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80863</link>
					<pubDate>Sat, 22 Jul 2006 18:10:07 +0000</pubDate>
					<dc:creator>jln</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80864</guid>
					<title><![CDATA[Re: [sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80864</link>
					<pubDate>Sat, 05 Aug 2006 20:28:43 +0000</pubDate>
					<dc:creator>RHS</dc:creator>

					<description>
						<![CDATA[
						<p>I need a Max programmer for hire can you help me? My email is <a href="mailto:rlm453@aol.com">rlm453@aol.com</a> call collect 323-656-6843 Randy</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80865</guid>
					<title><![CDATA[Re: [sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80865</link>
					<pubDate>Mon, 06 Sep 2010 05:18:42 +0000</pubDate>
					<dc:creator>jonathanb</dc:creator>

					<description>
						<![CDATA[
						<p>These examples have been very helpful for me but I find that I am stuck trying to figure out how to adjust the parse extension example so that it also deletes the . (dot) that remains at the end of the filename.  Can someone show me the way, please?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80866</guid>
					<title><![CDATA[Re: [sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80866</link>
					<pubDate>Mon, 06 Sep 2010 08:12:34 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>maybe something like <strong>regexp (.+)(?:\.dot)?</strong>, and take the backreference output. Otherwise post an example of what you&#8217;re trying to do.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80867</guid>
					<title><![CDATA[Re: [sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80867</link>
					<pubDate>Tue, 07 Sep 2010 04:14:46 +0000</pubDate>
					<dc:creator>jonathanb</dc:creator>

					<description>
						<![CDATA[
						<p>Ok, here&#8217;s the relevant part of my patch.  I&#8217;m parsing the file extension&#8211;and (hopefully, if I can figure out how) the period at the end of the filename&#8211;to send the filename to the sprintf object that combines the output of the counter with the filename to name the image that is created by the exportimage message. (Since exportimage appends a .png extension to the filename, I&#8217;ll wind up with filenames containing two consecutive dots which I really would like to avoid.)  </p>
<p>Jonathan</p>
<p>
<div><span id="toggle80867-0" class="patchtoggle" onmousedown="toggleMaxPatch('post80867-0', 'er80867-0');">&#8211; Pasted Max <span id="maxversion80867-0"></span> Patch, click to <span id="er80867-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A662.3oc0XtsahCCDF95vSgkkpTaEaTbNyd2dyp8cnKBERbodUhMJ1rk1p9tu%0A9PBGZSJFnMsKHh0L1g7OedFaCOMxANmsFygfuCtA337zHGGsKkCmFaGXU157%0AxLtdXvJLmms.CGa5SfWKz98Z8PJz1r4%2B4anMNYqDkXg3gkXyyBBASa5ZYlH%2B%0ANBcwrZbtvzKBE45MV1DnZ7QZiTWuM2ysLpfSdT%2Bkg7kcabSWUQnxmiVo96LV%0AZVkdrveTSxJgaGtQW5wiTNedzH0kwVBi4qDBFsiHOs2.edFcwaF7Qg5f1D5d%0AsW2bG6Ein2sHghuWp6WMqlyVQE3Zfm7Mxqy43diTBU.GKmoa9nLObbiBLS8d%0AuNxsYRO5HmzCOAT0WE.d8LVsfTI6C3MCq31OIkXkL9EtF61A7RPmVARSNRjF%0ARn3DcSTOrZxmW8QOYU7k0xrgaA6RrKJKlcAuKF4eVLJvvn.S1UxWOF0a5jMI%0APmHaPwSz3XhowO7K6Jr1SmJ1e6.PSBNKB0Bnz%2BypvdrDfyIkb.pKlD1OSFaY%0AlShdS4HzPTU4%2B9wEAi%2BP0bVYWTI57pkP5bjlkjORhf97xTpwKvqWBtz85eKe%0A4d0k2nZue50W0Eihe6Lmc%2BXCyBMzxbXmOZnEsCzzOGXIg9xC%2BpEqx%2B9jjyVU%0Am2FpMG6ArUsEXtfPyDD4gA2NF0NW6Ln6HEEXc%2BsgSEoXIStSXiF.S6bZ0VI8%0AhGWOZRIbj8ZJNvMRtKZXp4j3nMVmoX8skenAiepesxA0jBeACljTqTePIMrY%0AYoVnH0ltGijLIYI9pqnjzViAPonAkcpsXNL7hGVMEXilhFVMEuWgeOZJ73zj%0AuWnN%2Bxjr0jlosFphziXorV4Mw72.jFrwZOwJMddz%2BHckTnJ%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post80867-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode80867-0">----------begin_max5_patcher----------
662.3oc0XtsahCCDF95vSgkkpTaEaTbNyd2dyp8cnKBERbodUhMJ1rk1p9tu
9PBGZSJFnMsKHh0L1g7OedFaCOMxANmsFygfuCtA337zHGGsKkCmFaGXU157
xLtdXvJLmms.CGa5SfWKz98Z8PJz1r4+4anMNYqDkXg3gkXyyBBASa5ZYlH+
NBcwrZbtvzKBE45MV1DnZ7QZiTWuM2ysLpfSdT+kg7kcabSWUQnxmiVo96LV
ZVkdrveTSxJgaGtQW5wiTNedzH0kwVBi4qDBFsiHOs2.edFcwaF7Qg5f1D5d
sW2bG6Ein2sHghuWp6WMqlyVQE3Zfm7Mxqy43diTBU.GKmoa9nLObbiBLS8d
uNxsYRO5HmzCOAT0WE.d8LVsfTI6C3MCq31OIkXkL9EtF61A7RPmVARSNRjF
Rn3DcSTOrZxmW8QOYU7k0xrgaA6RrKJKlcAuKF4eVLJvvn.S1UxWOF0a5jMI
PmHaPwSz3XhowO7K6Jr1SmJ1e6.PSBNKB0Bnz+ypvdrDfyIkb.pKlD1OSFaY
lShdS4HzPTU4+9wEAi+P0bVYWTI57pkP5bjlkjORhf97xTpwKvqWBtz85eKe
4d0k2nZue50W0Eihe6Lmc+XCyBMzxbXmOZnEsCzzOGXIg9xC+pEqx+9jjyVU
m2FpMG6ArUsEXtfPyDD4gA2NF0NW6Ln6HEEXc+sgSEoXIStSXiF.S6bZ0VI8
hGWOZRIbj8ZJNvMRtKZXp4j3nMVmoX8skenAiepesxA0jBeACljTqTePIMrY
YoVnH0ltGijLIYI9pqnjzViAPonAkcpsXNL7hGVMEXilhFVMEuWgeOZJ73zj
uWnN+xjr0jlosFphziXorV4Mw72.jFrwZOwJMddz+HckTnJ
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p>						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80868</guid>
					<title><![CDATA[Re: [sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80868</link>
					<pubDate>Tue, 07 Sep 2010 16:55:44 +0000</pubDate>
					<dc:creator>Luke Hall</dc:creator>

					<description>
						<![CDATA[
						<p>Try using this expression instead: [regexp (.*)\.[\w]*]</p>
<p>It will grab the string before the extension and ignore the period. I hope it helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80869</guid>
					<title><![CDATA[Re: [sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80869</link>
					<pubDate>Tue, 07 Sep 2010 20:26:18 +0000</pubDate>
					<dc:creator>Wetterberg</dc:creator>

					<description>
						<![CDATA[
						<p>luke, that regexp didn&#8217;t work for me.</p>
<p>What I&#8217;ve always done, and I know this is a bad practice, is to do:<br />
[regexp \. " "], which simply replaces a dot with a space. That way you can treat it as a list, and slice the filetype out, flip it around, etc.</p>
<p>- bad practice of course, because you may have a file called &#8220;this.has.too.many.dots.exe&#8221;, but I&#8217;ve always been able to patch around that.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80870</guid>
					<title><![CDATA[Re: [sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80870</link>
					<pubDate>Wed, 08 Sep 2010 03:09:50 +0000</pubDate>
					<dc:creator>jonathanb</dc:creator>

					<description>
						<![CDATA[
						<p>Unfortunately, that expression doesn&#8217;t work for me either.  Seems it may be simplest thing for now is to use Automator (OS X 10.6) to change myfile..png to myfile.png.  It takes less than a minute to setup and process the whole batch.  Eventually, the perfect expression will emerge to eliminate the need for that extra (but simple) step.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80871</guid>
					<title><![CDATA[Re: [sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80871</link>
					<pubDate>Wed, 08 Sep 2010 06:15:34 +0000</pubDate>
					<dc:creator>Mathieu Chamagne</dc:creator>

					<description>
						<![CDATA[
						<p>here is another solution :</p>
<div><span id="toggle80871-0" class="patchtoggle" onmousedown="toggleMaxPatch('post80871-0', 'er80871-0');">&#8211; Pasted Max <span id="maxversion80871-0"></span> Patch, click to <span id="er80871-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A464.3oc0U11SCBCDG%2B0vmhFdkZlMscCF567ygZLU31VMP6BsKhZ76tqGfhJt%0A4lwmHgC3tqW%2B2ezGdHLH5ZSMXiHmRNmDD7PXP.5x6Hn86fnRYcVgzhoEUBVq%0AbNDMpIlCpcnemwYnR0rt.5UklUtBvgMi25cozksPomeUEj4Z5VwTFkMhjH71%0AIS8VdJkQtrsIpbr9lqu4XdWwmYzNsrDvHmUojEcQZ5S2cKglpGE8bg7MxptG%0ACv88Vqjp.KncRmxnekrl3kRbr2xZMOWq0iNktavI79dLLzaF8Uw3BkktPZoN%0AigVJ02QyMNKEpgcFriYi8xNEs7XwFIK6agseaXZu3QRZCBPfDu4YZL1%2BJdL7%0AzltzJTZHyrRi4J14EnImfnZZh%2BwTbAwXwvb6jz%2BjXSC2tVcuiZ2WPrEpLfvG%0AdxjXCSlD31C7IbbyKzJXe.TR1GnL5WDLUvbndI4.5QGdw5Kp%2BkgQT7V2%2Bgya%0AdvDajQi2WF0%2Bdm3EuGuvFhqSdygg33x6%2B0PzZVUk0Ii1ilHuLvxAqSowiT5k%0AieL1KoEp7b.i2IuRU9RiR6Z0.4xA%2Bi9okD6OnnvtiuMMk7ypojOglvSD5k0O%0Ahn15OuzuflV%2BwigOAXtsOIA%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post80871-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode80871-0">----------begin_max5_patcher----------
464.3oc0U11SCBCDG+0vmhFdkZlMscCF567ygZLU31VMP6BsKhZ76tqGfhJt
4lwmHgC3tqW+2ezGdHLH5ZSMXiHmRNmDD7PXP.5x6Hn86fnRYcVgzhoEUBVq
bNDMpIlCpcnemwYnR0rt.5UklUtBvgMi25cozksPomeUEj4Z5VwTFkMhjH71
IS8VdJkQtrsIpbr9lqu4XdWwmYzNsrDvHmUojEcQZ5S2cKglpGE8bg7MxptG
Cv88Vqjp.KncRmxnekrl3kRbr2xZMOWq0iNktavI79dLLzaF8Uw3BkktPZoN
igVJ02QyMNKEpgcFriYi8xNEs7XwFIK6agseaXZu3QRZCBPfDu4YZL1+JdL7
zltzJTZHyrRi4J14EnImfnZZh+wTbAwXwvb6jz+jXSC2tVcuiZ2WPrEpLfvG
dxjXCSlD31C7IbbyKzJXe.TR1GnL5WDLUvbndI4.5QGdw5Kp+kgQT7V2+gya
dvDajQi2WF0+dm3EuGuvFhqSdygg33x6+0PzZVUk0Ii1ilHuLvxAqSowiT5k
ieL1KoEp7b.i2IuRU9RiR6Z0.4xA+i9okD6OnnvtiuMMk7ypojOglvSD5k0O
hn15OuzuflV+wigOAXtsOIA
-----------end_max5_patcher-----------</code></pre></div>
</div>
<p>this one splits the file name in 2 parts (fileName + extension) (and removes the dot) ; so you can use the parsed extension for routing, for example&#8230;</p>
<p>Mathieu</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80872</guid>
					<title><![CDATA[Re: [sharing is fun] some regexp examples]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-some-regexp-examples/#post-80872</link>
					<pubDate>Wed, 08 Sep 2010 15:43:16 +0000</pubDate>
					<dc:creator>jonathanb</dc:creator>

					<description>
						<![CDATA[
						<p>Matthieu, thanks.  That worked fine.</p>
<p>Luke, I&#8217;m not sure what I did wrong yesterday but your expression also worked just fine now.  Thanks.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

