CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [Laurent_R] How to skip 14 digits from a syslog file??: Edit Log



amanjosan2008
Novice

Jul 22, 2013, 2:19 AM


Views: 4030
Re: [Laurent_R] How to skip 14 digits from a syslog file??

Thank you for the reply.

This Regex will work with

Code
[15125.218403]

.


If there is a space like in

Code
 [   23.453629]

or

Code
[  284.271544]

then it wont work.

Please suggest some regex for a variable value with space having 12 digits a dot some space and in brackets. ex: [xxxxx.xxxxxx] where x may be a number or space.

I aplogise for my poor knowledge in perl.


(This post was edited by amanjosan2008 on Jul 22, 2013, 2:44 AM)


Edit Log:
Post edited by amanjosan2008 (Novice) on Jul 22, 2013, 2:44 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives