Matching lines

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am trying to grab the lines from a textarea that match a substring.

How best to implement this?

I tried regex and failed miserably. Here I try to match every line with

Re: Matching lines

what regex did you use? i think that /^.*whateverYouAreLookingFor.*$/
should do the trick nicely. I believe (without looking, though) that
the regex page in the manual has a similar example.

Site Timeline