(Created page with "<seo title="Pattern Matching Beginning / End of a Line | vEdit" description="Use Pattern Matching codes to arch string ensures that the entire search string only matches text...") |
|||
| Line 7: | Line 7: | ||
Unlike '''|L''' and '''|N''', '''|<''' and '''|>''' do not include the “newline” character(s) in the matched text. This is an important distinction when performing a replacement - with '''|L''' and '''|N''' the “newline” character(s) will be replaced; with '''|<''' and '''|>''' they are not replaced. With {CONFIG, File Handling, File type} set to Record mode, these codes match the beginning/end of a record. | Unlike '''|L''' and '''|N''', '''|<''' and '''|>''' do not include the “newline” character(s) in the matched text. This is an important distinction when performing a replacement - with '''|L''' and '''|N''' the “newline” character(s) will be replaced; with '''|<''' and '''|>''' they are not replaced. With {CONFIG, File Handling, File type} set to Record mode, these codes match the beginning/end of a record. | ||
| + | |||
| + | ==Related Resources== | ||
The code |< occurring at the beginning of a search string ensures that the entire search string only matches text occurring at the beginning of a line.
Similarly, the code |> occurring at the end of a search string ensures that the entire search string only matches text occurring at the end of a line.
Unlike |L and |N, |< and |> do not include the “newline” character(s) in the matched text. This is an important distinction when performing a replacement - with |L and |N the “newline” character(s) will be replaced; with |< and |> they are not replaced. With {CONFIG, File Handling, File type} set to Record mode, these codes match the beginning/end of a record.