<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://regexadvice.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">RegEx Side</title><subtitle type="html">The light side the dark side and the regex side.</subtitle><id>http://regexadvice.com/blogs/regex_side/atom.aspx</id><link rel="alternate" type="text/html" href="http://regexadvice.com/blogs/regex_side/default.aspx" /><link rel="self" type="application/atom+xml" href="http://regexadvice.com/blogs/regex_side/atom.aspx" /><generator uri="http://communityserver.org" version="2.1.60809.935">Community Server</generator><updated>2006-09-26T09:33:00Z</updated><entry><title>Regex Cheat Sheet</title><link rel="alternate" type="text/html" href="http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx" /><id>http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx</id><published>2007-02-06T17:52:00Z</published><updated>2007-02-06T17:52:00Z</updated><content type="html">&lt;p&gt;It seems that many people have a basic understanding of how a regular expressions works. Lots of people will ask me, and probably many of you, for help in writing regular expressions. A lot of these people have a basic idea of what they need when it is a simple regex. I would like to&amp;nbsp;point those people&amp;nbsp;towards a &lt;a href="http://regexlib.com/CheatSheet.aspx" target="_blank"&gt;regular expression cheat sheet&lt;/a&gt;. Many people ask for regular expressions and can say what they are looking for in a regular expression. They will say something like:&lt;/p&gt;
&lt;p&gt;&amp;lt;2 to 4&amp;nbsp;letters&amp;gt;&amp;lt;optional space or dash&amp;gt;&amp;lt;5 digits&amp;gt;&amp;lt;optional space or dash&amp;gt;&amp;lt;3 digits&amp;gt;&lt;/p&gt;
&lt;p&gt;matching the following:&lt;br /&gt;CS 10051 001&lt;br /&gt;MATH 23021-012&lt;br /&gt;ENG-39995-123&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;not&lt;/b&gt; matching the following:&lt;br /&gt;A 10051 001&lt;br /&gt;MATH 23021_012&lt;br /&gt;ENGLISH-39995&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;From this simple description and a &lt;a href="http://regexlib.com/CheatSheet.aspx" target="_blank"&gt;regex cheat sheet &lt;/a&gt;a basic regex can be made. There are obviously other considerations like the context of the strings, but a lot of people can state this much&amp;nbsp;information. This makes creating the regex easy, and a lot more people should go and get some basic resources and learn to write regular expressions. You will be glad you did.&lt;/p&gt;Check out my &lt;a href="http://aspadvice.com/blogs/name/default.aspx"&gt;ASP.NET Advice Blog&lt;/a&gt;. It is where I blog regularly.&lt;br /&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx&amp;amp;;subject=Regex+Cheat+Sheet" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx&amp;amp;;title=Regex+Cheat+Sheet" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx&amp;amp;title=Regex+Cheat+Sheet" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx&amp;amp;;title=Regex+Cheat+Sheet" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx&amp;amp;;title=Regex+Cheat+Sheet&amp;amp;;top=1" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://regexadvice.com/aggbug.aspx?PostID=27056" width="1" height="1"&gt;</content><author><name>Brendan</name><uri>http://regexadvice.com/members/Brendan.aspx</uri></author><category term="RegEx" scheme="http://regexadvice.com/blogs/regex_side/archive/tags/RegEx/default.aspx" /><category term="Tips and Tricks" scheme="http://regexadvice.com/blogs/regex_side/archive/tags/Tips+and+Tricks/default.aspx" /><category term="Beginner Advice" scheme="http://regexadvice.com/blogs/regex_side/archive/tags/Beginner+Advice/default.aspx" /></entry><entry><title>Computer Science not teaching regular expressions?</title><link rel="alternate" type="text/html" href="http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx" /><id>http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx</id><published>2006-09-26T13:33:00Z</published><updated>2006-09-26T13:33:00Z</updated><content type="html">&lt;p&gt;I don&amp;rsquo;t know what to think about this problem. While I was in one of my computer science classes. I recommended to some of my classmates that they use a regular expression to solve the homework. They all gave me an odd look. I could not believe that none of them had heard of regular expressions. No class I have taken there has ever had us use regular expressions, and I am not sure why. I still don&amp;rsquo;t know why, but after contacting a few other computer science students at other &amp;ldquo;better&amp;rdquo; schools, I found out that most of them had also not used Regular Expressions before. It seems that this is not required of students to learn. All the&amp;nbsp;courses I&amp;rsquo;ve seen that teach regular expressions are not required courses, and most don&amp;rsquo;t talk about applications of them. It is more learning about them from a language perspective.&lt;/p&gt;
&lt;p&gt;I have not been using a regular expressions for that long, but I have discovered many many uses for them since I started working with them. It seems that almost any case where I am even working with strings of characters that regular expressions are useful. Why don&amp;rsquo;t they teach more of this stuff in school?? Maybe someone knows why. They aren&amp;rsquo;t complicated certainly not for Computer Science students. Anybody have any thoughts on why this is?&lt;/p&gt;&lt;p&gt;Most of my blogging takes place on ASP Advice where I try to give good asp.net advice on my blog called &lt;a href="http://aspadvice.com/blogs/name/default.aspx"&gt;Orcs Goblins and .NET&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx&amp;amp;;subject=Computer+Science+not+teaching+regular+expressions%3f" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx&amp;amp;;title=Computer+Science+not+teaching+regular+expressions%3f" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx&amp;amp;title=Computer+Science+not+teaching+regular+expressions%3f" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx&amp;amp;;title=Computer+Science+not+teaching+regular+expressions%3f" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx&amp;amp;;title=Computer+Science+not+teaching+regular+expressions%3f&amp;amp;;top=1" target="_blank" title = "Post http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://regexadvice.com/aggbug.aspx?PostID=22824" width="1" height="1"&gt;</content><author><name>Brendan</name><uri>http://regexadvice.com/members/Brendan.aspx</uri></author><category term="RegEx" scheme="http://regexadvice.com/blogs/regex_side/archive/tags/RegEx/default.aspx" /><category term="Tips and Tricks" scheme="http://regexadvice.com/blogs/regex_side/archive/tags/Tips+and+Tricks/default.aspx" /></entry></feed>