The community is working on translating this tutorial into Uzbek, but it seems that no one has started the translation process for this article yet. If you can help us, then please click "More info".
If you are fluent in Uzbek, then please help us - just point to any untranslated element (highlighted with a yellow left border - remember that images should have their titles translated as well!) inside the article and click the translation button to get started. Or have a look at the current translation status for the Uzbek language.
If you see a translation that you think looks wrong, then please consult the original article to make sure and then use the vote button to let us know about it.
Please help us by translating the following metadata for the article/chapter, if they are not already translated.
If you are not satisfied with the translation of a specific metadata item, you may vote it down - when it reaches a certain negative threshold, it will be removed. Please only submit an altered translation of a metadata item if you have good reasons to do so!
We have previously talked a lot about strings - the ability to process and manipulate text is so important for all programmers out there! But while chopping up strings with the SubString method or doing some simple string-to-string replace operations can be considered simple string processing, string processing with Regular Expressions (usually shortened to Regex) is the extreme version!
First of all, Regular Expressions is not a Microsoft/.NET invention. In fact, Regular Expressions were invented way before the .NET framework, as a way of expressing a search pattern. This search pattern can then be used to carry out search or search-replace operations on a piece of text. Your first thought might be that you don't need another "language" to search through a string, but just wait and see what you can do with Regular Expressions!
The cool thing about Regular Expressions is that they are supported by pretty much every programming language out there, and while there are small variations, you can use the same regex across these programming languages to accomplish the same thing. The .NET framework has a very nice implementation of Regular Expressions, centered around the Regex class found in the System.Text.RegularExpressions namespace.
With Regular Expressions you can define a search pattern to perform search and search/replace operations on a string. The .NET framework can easily work with your Regular Expressions, as we will discover in the next articles, where we will work with the Regex class as well as helper classes like the Match and MatchCollection classes.