Files
Pf2eDataScrapper/Documentation/Pf2e.Scrapper/ClassProcessor.TrainingStringSeparatorRegex().md
2025-10-04 22:52:22 +04:00

27 lines
1.0 KiB
Markdown

#### [Pf2e\.Scrapper](index.md 'index')
### [Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2e.Scrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types').[ClassProcessor](ClassProcessor.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ClassProcessor')
## ClassProcessor\.TrainingStringSeparatorRegex\(\) Method
```csharp
protected static System.Text.RegularExpressions.Regex TrainingStringSeparatorRegex();
```
#### Returns
[System\.Text\.RegularExpressions\.Regex](https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex 'System\.Text\.RegularExpressions\.Regex')
### Remarks
Pattern:<br/>
```csharp
\\s*(?:,|and)\\s*
```<br/>
Explanation:<br/>
```csharp
○ Match a whitespace character atomically any number of times.<br/>
○ Match with 2 alternative expressions.<br/>
○ Match ','.<br/>
○ Match the string "and".<br/>
○ Match a whitespace character atomically any number of times.<br/>
```