I have a quiet long regex and sometimes it response fast some times it loads long like crazy.
here is my regex:
<div class=""rwResult bg"">.*?mp3/d/[^>]+>(?<Name>[^<]+)</a>.*?artist:[^>]+>(?<Artist>[^<]+).*?user</span>[^>]+[^""]+""(?<Uploader>[^""]+).*?category:.*?"">.*?"">(?<Category>[^<]+).*?time: (?<Duration>[^ ]+) \| (?<StreamSize>[0-9]+) (?<Weight>[^ ]+) \| listened: (?<Clicks>[0-9]+).*?<a href=""(?<DownloadLink>http://dl[^""]+)
rather than use alot of regex for each group i prefer doing one time regex. Is there any function that i could check or avoid the long load while the regular expression is executing ?
I'm working C# or F# hope anyone could answer this problem.
thanks.