source = "><<>sadas
";
Regex Reg = new Regex(@"(?is)(?<=<P>).*?(?=</P>)", RegexOptions.IgnoreCase); //
var Content = Reg.Match(source).Value;
//js
// (?is)(?<=<P>).*?(?=</P>)
//
source = "><<>sadas
";
Regex Reg = new Regex(@"(?is)(?<=<P>).*?(?=</P>)", RegexOptions.IgnoreCase); //
var Content = Reg.Match(source).Value;
//js
// (?is)(?<=<P>).*?(?=</P>)
//
js regular function is relatively weak, only backward matching, not forward matching
so > yo < hello, < ouch > feed sadas ). *? (? <\ / p >) / ig) "
this is due to the js rule function limitation on the browser side.
Previous: The file is gone after the Git switch branch.
Next: Node.js Server issu