arthurh88
asked on
Can someone decipher this regex parameter?
HTML = Regex.Replace(HTML, "<p?.*"">[\r\n]*\s*</p>", "")
So this statement is searching for a condition in a string and replacing it with an empty string, but what exactly is this regex statement searching for?
So this statement is searching for a condition in a string and replacing it with an empty string, but what exactly is this regex statement searching for?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
so it requires 2 quotations consecutively like "" in order to match?
Maybe not. That might be a side effect of using a C# string. It might be one double quote character but either way I'm not sure what it's doing in there.
ASKER
oh wait never mind, the double quote in the coding "" means just one quote for the regex.
ASKER
thank you!
Download Expresso from Ultrapico. It's free and extremely useful.