Schedule

Schedule

Friday, May 29

1432922400 This Week in Law
1432933200 Before You Buy
1432940400 Tech News 2Night

Saturday, May 30

1433008800 The Tech Guy

Sunday, May 31

1433095200 The Tech Guy
1433109600 This Week in Tech

Monday, June 1

1433178000 Tech News Today
1433181600 Triangulation
1433187000 iOS Today
1433194200 Coding 101
1433199600 Tech News 2Night

Tuesday, June 2

1433264400 Tech News Today
1433268000 MacBreak Weekly
1433277000 Security Now
1433286000 Tech News 2Night
1433289600 All About Android

Wednesday, June 3

1433345400 FLOSS Weekly
1433350800 Tech News Today
1433354400 Windows Weekly
1433361600 This Week in Google
1433372400 Tech News 2Night
1433374200 Android App Arena
1433379600 Ham Nation

Thursday, June 4

1433437200 Tech News Today
1433440800 Know How...
1433451600 Home Theater Geeks
1433458800 Tech News 2Night

Friday, June 5

1433523600 Tech News Today
1433527200 This Week in Law
1433538000 Before You Buy
1433545200 Tech News 2Night

Saturday, June 6

1433613600 The Tech Guy

Sunday, June 7

1433700000 The Tech Guy
1433714400 This Week in Tech

Monday, June 8

1433782800 Tech News Today

Most Recent Episodes

Tech News 2Night

Ron Richards joins us to talk all about Android

Home Theater Geeks

SMPTE standards for next gen video.

Know How...

How to use the Ping command to shame your ISP.

TWiT Live Specials

Android M, Chrome, USB-C, Google Now integration, Google Photos

This Week in Computer Hardware

Google IO, High Bandwidth Memory, and your questions.

Tech News Today

Oculus Rift might set you back $1500.

Ham Nation

Bob Heil visits the ultimate builder.

Android App Arena

GTasks, Wunderlist, Any.do, Layout.

This Week in Google

Google Tracker (I/O edition), Android M, Chromecast 2, and lots more.

iFive for the iPhone

Is the Apple Watch vulnerable to theft?

Coding 101 24

Perl: Command Line Search and Replace

July 3 2014

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Guest: Patrick Delahanty

The Code for today's show is available at our: Github

Ivory Tower

We learned in the last episode that "Regular Expressions" or "RegEx" is just another way of saying, "find a pattern"
* We learned that we can use RegEx to search a string for that pattern according to a set of parameters and modifiers that WE determine

The usage of RegEx is as Follows:
$nameofstring =~ (Match Operator) / (expression) / (expression) / (Match Expression Operator)

Which means:
$nameofstring =~ (action to take)/(pattern to match)/(pattern to replace match with)/(how to search)

Useful Match Operators
m/ Match Regular Expression
s/ Substitite Regular Expression
tr/ Tranliterate Regular expression

Useful Match Operator Modifiers
g Match globally, find ALL occurences
i case insensitive
m treat string as multiple lines
o Evaluate the expression only once
s treat string as single line
x Use extended regular expressions (Allows you to use white space in the expression)

Get in Touch With Us!

* Subscribe and get Coding 101 automatically at TWiT.tv!
* Follow PadreSJ and Snubs on Twitter.
* Watch the show live and join the chatroom every Thursday at 1:30pm PST.
* Email us at Padre@twit.tv and Shannon@twit.tv.
* Join our Google+ Community!
*Check out our transcripts.