I am using the following RegEx to remove HTML tags from a string
<[^>]*>
However, this does not eliminate empty lines. I found this other RegEx that successfully removes any blank lines:
[#Chr(13)
I tried to combine both:
ReReplaceNoCase(arguments.string, "(<[^>]*>)([#Chr(13)##Chr(10)#]+)", "", "ALL")
But that does not work. I use ColdFusion for this, which should explain the # signs.
I thought () used to group statements in RegEx, but it doesn't seem to work in my attempt to combine two expressions.
source share