#### [Pf2e\.Scrapper](index.md 'index') ### [Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers](Pf2e.Scrapper.Importers.Implementations.Aonprd.Helpers.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers').[StringHelper](StringHelper.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.StringHelper') ## StringHelper\.SourceSuffixRegex\(\) Method ```csharp public static System.Text.RegularExpressions.Regex SourceSuffixRegex(); ``` #### Returns [System\.Text\.RegularExpressions\.Regex](https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex 'System\.Text\.RegularExpressions\.Regex') ### Remarks Pattern:
```csharp ^\\[.*?\\]\\(.*?\\)\\s+(.*)$ ```
Explanation:
```csharp ○ Match if at the beginning of the string.
○ Match '['.
○ Match a character other than '\n' lazily any number of times.
○ Match the string "](".
○ Match a character other than '\n' lazily any number of times.
○ Match ')'.
○ Match a whitespace character greedily at least once.
○ 1st capture group.
○ Match a character other than '\n' greedily any number of times.
○ Match if at the end of the string or if before an ending newline.
```