The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Perl regex question
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Perl regex question
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
07-17-2008
ghostdog74
Registered User
Join Date: Sep 2006
Posts: 2,557
if the file names are always named like scores.234506.csv, you can just use split on dots and then get array element 1. That should be your number. Easier than regexp.
ghostdog74
View Public Profile
Find all posts by ghostdog74
Find ghostdog74's past nominations received
Find ghostdog74's present nominations given