I get as ouput for an interface this:
“Interface '1' Status : up (admin: up), Traffic In : 28.37Kb/s (0.00%), Traffic Out : 215.18Kb/s (0.02%)
Interface '1' Status : down (admin: up)”
My regex is this ‘^1$’. But I want to match it for the first occurence only so that I get the right output.
Thank you for your help