<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://regexadvice.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>RegEx Side</title><link>http://regexadvice.com/blogs/regex_side/default.aspx</link><description>The light side the dark side and the regex side.</description><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>Regex Cheat Sheet</title><link>http://regexadvice.com/blogs/regex_side/archive/2007/02/06/Regex-Cheat-Sheet.aspx</link><pubDate>Tue, 06 Feb 2007 17:52:00 GMT</pubDate><guid isPermaLink="false">d291b357-6366-4006-9008-4266c301325a:27056</guid><dc:creator>Brendan</dc:creator><slash:comments>14</slash:comments><comments>http://regexadvice.com/blogs/regex_side/comments/27056.aspx</comments><wfw:commentRss>http://regexadvice.com/blogs/regex_side/commentrss.aspx?PostID=27056</wfw:commentRss><description>&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;</description><category domain="http://regexadvice.com/blogs/regex_side/archive/tags/RegEx/default.aspx">RegEx</category><category domain="http://regexadvice.com/blogs/regex_side/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category><category domain="http://regexadvice.com/blogs/regex_side/archive/tags/Beginner+Advice/default.aspx">Beginner Advice</category></item><item><title>Computer Science not teaching regular expressions?</title><link>http://regexadvice.com/blogs/regex_side/archive/2006/09/26/Computer-Science-not-teaching-regular-expressions_3F00_.aspx</link><pubDate>Tue, 26 Sep 2006 13:33:00 GMT</pubDate><guid isPermaLink="false">d291b357-6366-4006-9008-4266c301325a:22824</guid><dc:creator>Brendan</dc:creator><slash:comments>6</slash:comments><comments>http://regexadvice.com/blogs/regex_side/comments/22824.aspx</comments><wfw:commentRss>http://regexadvice.com/blogs/regex_side/commentrss.aspx?PostID=22824</wfw:commentRss><description>&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;</description><category domain="http://regexadvice.com/blogs/regex_side/archive/tags/RegEx/default.aspx">RegEx</category><category domain="http://regexadvice.com/blogs/regex_side/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item></channel></rss>