# Find Lines With Keywords

Searches for lines in the file or text with **multiple keywords**


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `FilePath` | `String` | ✅Yes\*   | Path of the file to search |
| `Text`    | `String` | ✅Yes\*   | Text content to search |
| `Keywords` | `List<string>` | ✅Yes     | Keyword to search for |
| `CaseSensitive` | `Boolean` | ❌No      | Case sensitivity |
| `Encoding` | `String` | ❌No      | File encoding |

\*FilePath and Text are mutually exclusive (OverloadGroup) parameters. One of them is used.


---

### :arrow_right:**OUTPUT**

| **Name** | **Data Type** | **Description** |
|------|-----------|-------------|
| `IsFindLinesWithKeywordsSuccessful` | `Boolean` | Returns "**True**" if the operation succeeds, "**False**" if it fails. |
| `FindLinesWithKeywordsMessage` | `String`  | Returns the error information received if the operation fails. |
| `FindLinesWithKeywordsResult` | `List<`[`PAWKeywordResult`](/doc/pawkeywordresult-1jYsvghWeq)`>` | List containing the found lines and their numbers. |
| `FindLinesWithKeywordsResultCount` | `Int32`   | Count of the searched words. |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Specifies whether an exception is thrown when the operation fails. The default value is "**No**". |