Test, validate and match regular expressions
This regex matches a string that begins with exactly three pipe-delimited fields (each field containing any characters except pipe, followed by a pipe), and captures the fourth field in group 1. It is useful for extracting a specific column from pipe-separated data, such as log entries, configuration files, or simple text tables. The pattern ensures the match starts at the beginning of the line and ignores any content after the fourth field. It is commonly applied in data parsing, ETL tasks, or when you need to quickly pull out a particular value from a delimited record.