tiplicks!
home
bash
perl
mysql
os x
skip to main
|
skip to sidebar
Tuesday, July 24, 2007
regex to grab the first n characters of a string, respecting words
^(.{0,MAXCHAR}[^ ,.]*)(.*)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About
'nix, shell, perl, php, mysql and mac os x tips and tricks
Recent Posts
Search This Blog
Links
Rory's Internets Audio Blog
Mac OS X Hints
Doug's Applescripts for iTunes
Me on Facebook
The White Room, Inc.
Labels/Tags
apache
(1)
applescript
(1)
awk
(1)
bash
(88)
cd
(3)
chmod
(1)
cron
(2)
crypt
(1)
curl
(2)
debian
(2)
disk image
(1)
ember
(1)
environment
(1)
excel
(1)
exim
(1)
find
(17)
firefox
(1)
freebsd
(1)
geocode
(1)
gmail
(1)
google
(1)
gpg
(1)
grep
(2)
html
(1)
imagemagick
(2)
ip
(3)
iptables
(2)
itunes
(1)
java
(1)
javascript
(2)
kill
(1)
lame
(2)
linux
(3)
load avg
(1)
mac os x
(1)
mail
(6)
mail queue
(1)
mod_rewrite
(2)
mp3
(6)
mssql
(2)
mysql
(34)
os x
(2)
osx
(7)
perl
(16)
perl modules
(2)
photoshop
(1)
podcasts
(1)
postfix
(4)
ps
(1)
random
(1)
recurse
(1)
regex
(8)
rename
(1)
samba
(1)
sed
(2)
sendmail
(1)
tar
(1)
thunderbird
(2)
time
(2)
unicode
(1)
uptime
(3)
vb
(1)
video
(3)
vnc
(2)
wget
(3)
x11
(3)
zip
(1)
About Me
Rory
I like Uniball pens. I like to floss. I like to take pictures. I'm not a morning person. I love flipping my sister the bird. I can make a tasty bread pudding.
View my complete profile
Blog Archive
►
2018
(2)
►
October
(1)
►
July
(1)
►
2017
(10)
►
December
(2)
►
November
(1)
►
August
(1)
►
July
(3)
►
February
(3)
►
2016
(6)
►
August
(2)
►
July
(1)
►
April
(1)
►
March
(2)
►
2015
(2)
►
September
(1)
►
January
(1)
►
2014
(2)
►
September
(2)
►
2013
(4)
►
May
(1)
►
April
(1)
►
March
(1)
►
February
(1)
►
2012
(15)
►
November
(1)
►
October
(1)
►
June
(1)
►
May
(1)
►
April
(1)
►
February
(2)
►
January
(8)
►
2011
(7)
►
December
(1)
►
October
(1)
►
July
(4)
►
February
(1)
►
2010
(11)
►
December
(1)
►
October
(2)
►
September
(2)
►
June
(2)
►
May
(2)
►
April
(1)
►
March
(1)
►
2009
(15)
►
November
(4)
►
August
(1)
►
July
(2)
►
June
(4)
►
May
(1)
►
February
(3)
►
2008
(26)
►
December
(1)
►
November
(1)
►
October
(3)
►
August
(3)
►
July
(5)
►
June
(4)
►
May
(4)
►
April
(2)
►
February
(3)
▼
2007
(12)
►
December
(2)
►
September
(2)
▼
July
(2)
regex to grab the first n characters of a string, ...
Shell script to re-name first part of filename to ...
►
May
(1)
►
April
(2)
►
January
(3)
►
2006
(14)
►
December
(3)
►
November
(1)
►
September
(2)
►
June
(1)
►
April
(3)
►
March
(2)
►
February
(2)
►
2005
(10)
►
October
(2)
►
September
(1)
►
July
(1)
►
May
(3)
►
March
(3)
►
2004
(20)
►
December
(1)
►
October
(1)
►
September
(2)
►
August
(6)
►
July
(3)
►
June
(1)
►
May
(3)
►
April
(1)
►
February
(1)
►
January
(1)
►
2003
(21)
►
November
(10)
►
October
(11)
No comments:
Post a Comment