in reply to regex help
you should at least explain better what you really need, provide some context or some code that fails to do what you want. Without any detail, your problem might be solved with something as simple as:
Or it could be more complicated, we cannot know.while (<$fh>) { next if /23456/; # further processing of lines not containing 23456 }
|
|---|