Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an Application to Create Regular Expression Out of Text by Selecting Wanted Area?

I hope this is programmer-related question. I'm in the hobby business of C# programming. For my own purposes I need to parse html files and the best idea is..regular expression. As many found out, it's quite time consuming to learn them and thus I'm quite interested if you know about some application that would be able to take input (piece of any code), understand what i need (by Me selecting a piece of the code I need to "cut out"), and give me the proper regular expression for it or more options.

As I've heard, Regex is a little science of itself, so it might not be as easy as I'd imagine.

like image 452
Skuta Avatar asked Sep 23 '08 17:09

Skuta


2 Answers

Yes there is Roy Osherove wrote exactly what you're looking for - regulazy

like image 118
Dror Helper Avatar answered Nov 14 '22 23:11

Dror Helper


Not real answer to your question, as it has nothing to do with regex, but HtmlAgilityPack may help you with your parsing.

like image 21
Sunny Milenov Avatar answered Nov 14 '22 21:11

Sunny Milenov