Filter Text Lines
Filter Text Lines lets you keep only lines containing the literal, case-sensitive search phrase. Enter your own values or load the worked example.
- Copy or download the computed result
- Adjust input text
- See the processing method and limits
Method and calculation
Keep only lines containing the literal, case-sensitive search phrase.
Inputs and settings
Filter Text Lines accepts Input text; Substring to keep.
Worked example
Filter Text Lines example — Input text: "Hello world\nA second line\nHello world"; Substring to keep: "Hello". Computed output: Hello world Hello world
Output and limitations
Filter Text Lines: Input is treated as plain text; it is never executed.
Technical references: JavaScript Unicode normalization
Filter Text Lines FAQs
Filter Text Lines applies the following rule to your input: Keep only lines containing the literal, case-sensitive search phrase. The worked example on this page uses the same processor as the result button.
Filter Text Lines has these boundaries: Input is treated as plain text; it is never executed. Start by checking the input text field against the units or format shown.
Filter Text Lines provides this sample: Hello world Hello world. Use the sample button to reproduce it, then replace the inputs with your own values.