header image

PowerShell Regular Expressions

Posted by: | January 26, 2009 | No Comment |

I somehow ended up agreeing to do a session on Regular Expressions at an upcoming PowerShell UG meeting.  Not sure how it happened as RegEx is not my favourite topic.  I sort of started looking into it a while back but got distracted.

I was browsing round some of my blog links and it seems there has been an explosion of stuff about regular expressions so I thought I’d pull all of the links together.  Be useful when I get back to the beastly things.

In no particular order

http://bsonposh.com/archives/568  – has some good ideas for learning about regular expressions

http://bsonposh.com/archives/595good example of using them to investigate a routing table

http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2008/12/28/regular-expression-webcast-series.aspx – links to a webcast series with commentary

http://thepowershellguy.com/blogs/posh/archive/2008/12/29/regular-expressions-and-powershell-part-1.aspx – comments on the first parts of the webcast series

http://thepowershellguy.com/blogs/posh/archive/2008/12/30/monday-december-29-2008-5-16-pm-regular-expressions-and-powershell-part-2.aspx – includes link to a regex quick reference powershell function

Enjoy.  To paraphrase..   The code is out there.


under: PowerShell original