المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Regex question



C# Programming
05-19-2009, 11:11 PM
Hey guys, I've been googling this but with no luck

Here's what I need:

Lets say I've got a piece of plain text in a TextBox or RichTextBox, using a user specified regular expression, I need to find and copy(move to a second text box) everything that matches the said expression.

I hope that makes sense, I've got no real experience with regex so if you could point me to an article that would be great

Thanks

Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL
you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111