SineCosine
I'm still looking for my Tangent
- Reaction score
- 77
Let's say I have a textarea.
Inside it, I have some copy + pasted contents:
And I want to return all lines that have 'my' inside using Javascript.
So, the result of this supposed javascript should return:
I can find it, duh.
But making it return the whole line when a match is found is what confuses me =/
Inside it, I have some copy + pasted contents:
Code:
Hello, my name is Paul!
You are not me!
The Army wants me!
And I want to return all lines that have 'my' inside using Javascript.
So, the result of this supposed javascript should return:
Code:
Hello, [B]my[/B] name is Paul!
The Ar[B]my[/B] wants me!
I can find it, duh.
But making it return the whole line when a match is found is what confuses me =/