How to completely ignore linkbreak and tab in RegEx?
Posted
by
Kthurein
on Stack Overflow
See other posts from Stack Overflow
or by Kthurein
Published on 2011-01-11T03:48:16Z
Indexed on
2011/01/11
3:54 UTC
Read the original article
Hit count: 210
Hi,
Is there any way to completely ignore link 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 \t \r\n Type="" \t \r\n Property="" \n /] ... [CT ...
The is the RegularExpression that I am currently using:
(\[CustomToken).*?(\/\])
.NET API
Regex.Matches(string input, string pattern)
Thanks for your suggestion.
© Stack Overflow or respective owner