Skip Navigation LinksOneClickHelp > Appendices > The appendix 6. Regex file  

The appendix 6. Regex file

The file format regex.txt (the name can be any, extension too), following and it’s clear from an example.

 

It's comment line
Don't use two Number Sign - "#" in one comment line
#-it's comment also
<script.*?/script>.*?$##IgnoreCase, Multiline, Singleline, IgnorePatternWhitespace
<div\sclass="header">.*?</div>##RegexOptions.IgnoreCase, RegexOptions.Multiline, RegexOptions.Singleline, RegexOptions.IgnorePatternWhitespace

 

The line can be the comment or expression. Expression consists of three elements:

1. Regex expression and then a symbol a #.

2. On what is changed Regex expression and then a symbol a #.

3. Regex options.

 

 Attention: Do not use the comments inside Regex expression.

 

BackHome