Schedule

Schedule

Wednesday, May 27

1432740600 FLOSS Weekly
1432746000 Tech News Today
1432749600 Windows Weekly
1432756800 This Week in Google
1432767600 Tech News 2Night
1432769400 Android App Arena
1432774800 Ham Nation

Thursday, May 28

1432827000 Tech News Today
1432830600 TWiT Live Specials
1432839600 Know How...
1432846800 Home Theater Geeks
1432854000 Tech News 2Night

Friday, May 29

1432918800 Tech News Today
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

Most Recent Episodes

Security Now
Episode #509: TLS Logjam May 26th, 2015

Routers with a USB port could be vulnerable to attack because of a NetUSB bug.

Tech News 2Night

Mashable's Jason Abbruzzese talks Charter/TWC merger

MacBreak Weekly

Jony Ive promoted to 'Chief Design Officer'

Tech News Today

Jony Ive has been promoted to Apple's Chief Design Officer.

This Week in Tech

Uses of VR, Key FOB security, new Spotify, @POTUS, and more.

The Tech Guy
The Tech Guy 1190 May 24th, 2015

Make your own media player.

The New Screen Savers

Delighting audiences for decades, our guest Martin Sargent

The Tech Guy
The Tech Guy 1189 May 23rd, 2015

Finding a low cost telephone line that works during power outages.

Before You Buy

Myriam Joire reviews the HP Spectre x360 laptop.

This Week in Enterprise Tech

Your SSDs are DOOMED!

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.