ravi45722 has asked for the wisdom of the Perl Monks concerning the following question:
Like this three types of errors are there. In that in need only error. I don't need where it comes from. So I used (split /:/) but its taking spaces in the starting of that error. And the last one does not have any thing to split. How to write regex for this???Error from hlr : cannot connect to smsc Error from MSc : unsubscribe error No paging
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex for splitting
by Athanasius (Cardinal) on Jan 03, 2016 at 07:06 UTC | |
|
Re: Regex for spliting
by Laurent_R (Canon) on Jan 03, 2016 at 09:24 UTC |