TorryCrass.com

  • About
  • Gallery

Replace

Helpful Commands

Regex and the String Between the Colons

After working on this for a bit I wanted to make sure I posted this reminder for myself and others. Regex is a very powerful tool but the syntax is almost something of an art. I needed to identify strings of numbers between two colons. The following regex should look Read more…

By Torry Crass, 7 years ago
Helpful Commands

Perl Search and Replace File Entries

Have you ever wanted to replace a string across multiple files and haven't been exactly sure how to manage it?  Well, as it turns out Perl offers a really quick option for doing just that.   perl -p -i -e ’s///g’ *   modify * to yourfiles.* or *.configs to Read more…

By Torry Crass, 13 years ago
Categories
  • Business (1)
  • Helpful Commands (23)
  • Notes (2)
  • Poetry (38)
  • Quips (3)
  • Scripting (6)
  • Security (19)
  • Technical (73)
  • Updates & News (9)
Valuable Products

Affordable Linode VPS

Help Others With Kiva

0.5GB Extra Storage with OneDrive

2GB Free Storage With Dropbox

 

Copyright & Image Usage
Content and images on this site are property of Torry Crass or their respective owners where cited or referenced.
Some images used through public domain licensing and obtained via http://www.publicdomainpictures.net/

© 2010 - 2018 TorryCrass.com

  • Gallery
  • NMP License v1.0
Hestia | Developed by ThemeIsle