Is there any way to completely ignore line break and tab characters etc. in RegEx?
For instance, the line break and tab characters could be found anywhere and in any order in the content string.
... [CustomToken
Type="User"
Property="FirstName"
/] ... [CT ...
The is the RegularExpression that I am currently using:
([CustomToken).*?(/])
.NET API
Regex.Matches(string input, string pattern)
Thanks for your suggestion.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…