Answer the question
In order to leave comments, you need to log in
Is there an analogue of grep in JS (Node.JS)?
Let's say I wrote several lines to a variable:
Some super
Very cool12er
Text
Super cool
, filtering the text by its presence in the string 12e
. How to do this in JS? The grep console utility would do this viagrep "12e"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question