Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?=^.*Snapdragon.*).*(?=\n)
/
gm
Input 1
New
Is there any way to fetch the line with a key value, for eg in the below line “local parameter and identifier is Snapdragon” — I need to fetch the entire line using the word Snapdragon which is the key value, each time that key value can vary and there are close to 100 lines in text file. Any way to retrieve the entire line using the key value?
Extraction
Is there any way to fetch the line with a key value, for eg in the below line “local parameter and identifier is Snapdragon” — I need to fetch the entire line using the word Snapdragon which is the key value, each time that key value can vary and there are close to 100 lines in text file. Any way to retrieve the entire line using the key value?