VB.NET Strings and Regular Expressions
Classify:Web page productionViews:2998398Download:186

Text manipulation exists in almost any application, and handling text properly can improve application performance.
This book introduces VB. NET text processing, such as text storage, text replacement and appending, etc. The book compares the pros, cons, and speed of various text manipulation methods in detail, helping you to easily choose the most appropriate method in your application. This book focuses on using simple language. NET Framework's most important tools for processing strings - regular expressions, and introduces how to build your own expressions for matching and manipulating text. The explanations in this book are practical and vivid, and a large amount of code in the book can be directly used in your applications.
This book is suitable for work. NET developers who want to improve text processing efficiency in their applications.

Table of contents

Chapter 1 How the system processes text
1.1. net framework
1.1.1 Common Language Runtime
1.1.2. net framework class library
1.2 Text is a data type
1.2.1 visual basic. net data type
1.2.2 Characters and character sets
1.2.3 String data type
1.3 Text storage
1.3.1 Cache technology
1.3.2 Built-in
1.3.3 Other methods
1.3.4. net implementation
1.4 String operations
1.4.1 Connection string
1.4.2 Substring
1.4.3 Comparing strings
1.4.4 Data type conversion
1.4.5 Format string
1.5 String usage
.1.5.1 Constructing string
1.5.2 Analyze string
1.6 Internationalization
1.7. net resource file
1.8 Summary
Chapter 2 string and stringbuilder classes
2.1 Learn the tools used in this chapter
2.2 Text construction
2.3 visual basic and. net framework
2.3.1 Index
2.3.2 Null value and empty string
2.4 String class
2.4.1 Built-in string
2.4.2 Build
2.4.3 Assigning a value to a string
2.5 stringbuilder class
2.5.1 Length and capacity
2.5.2 tostring() method
2.6 String operations
2.61 Connection
2.6.2 Substring
2.6.3 Comparing strings
2.6.4 Format
2.7 Use of strings
2.7.1 Create string
2.7.2 Mark
2.7.3 Reverse the order of strings
2.7.4 Insertion, deletion and replacement
2.7.5 Choosing between string and stringbuilder
2.8 Summary
Chapter 3 String Conversion
3.1 tostring() method
3.2 Represent the value as a string
3.3 Represent date and time as string
3.4 Represent other objects as strings
3.5 Use string to represent string
3.6 Represent strings as other types
3.6.1 Convert strings to numbers
3.6.2 Convert string to date and time
3.7 Moving strings between collections and arrays
3.7.1 Array
3.7.2 arraylist object
3.7.3 idictionary object
3.8 Summary
Chapter 4 Internationalization
4.1 unicode
4.2. net framework coding class
4.3 Processing strings
4.3.1 cultureinfo class
4.3.2 Uppercase and lowercase
4.3.3 Situations where culturally sensitive operations are not required
4.3.4 Sorting
4.4 Processing characters
4.4.1 Necessary information about characters
4.4.2 Agent pair
4.4.3 Combining characters
4.5 Formatting unicode string
4.6 Summary
Chapter 5 Regular Expressions
5.1 system. text. regularexpressions
5.2 regex class
5.2.1 regexoptions
5.2.2 Class constructor
5.2.3 ismatch() method
5.2.4 replace() method
5.2.5 split() method
5.3 match and matchcollection classes
5.4 Regex detector example
5.5 Basic regular expression syntax
5.5.1 Match different character classes
5.5.2 Specify matching position
5.5.3 Specify repeated characters
5.5.4 Specify replacement
5.5.5 Special characters
5.6 Summary
Chapter 6 Advanced Concepts of Regular Expressions
6.1 Grouping, replacement and backreferencing
6.1.1 Simple grouping
6.1.2 group and groupcollection classes
6.1.3 Replace
6. i. 4 Backreference
6.1.5 Advanced Group
6.2 Making decisions in regular expressions
6.3 Setting options in regular expressions
6.4 Rules of regular expression engine
6.5 Summary
Chapter 7 Regular Expression Pattern
7.1 Verification characters
7.2 Verification Number
7.2.1 Contains only numbers
7.2.2 Contains only integer numbers
7.2.3 Floating point numbers
7.3 Verification phone number
7.4 Verify zip code
7.5 Verify email address
7.5.1 Verify IP address
7.5.2 Verify domain name
7.5.3 Verify personal address
7.5.4 Verify complete address
7.6 Analyze an smtp log file
7.7 html tag
7.7.1 Clear html
from user input 7.7.2 Extract all html tags
7.7.3 HTML extraction example
7.8 Summary
Appendix a string class
a. 1 Constructor
a. 2 Properties
a. 3 Method
Appendix b stringbuilder class
b. 1 Constructor
b. 2 Properties
b. 3 Method
Appendix c Regular expression syntax
c. 1 Matches the characters
c. 2 Repeating characters
c. 3 Positioning characters
c. 4 grouping characters
c. 5 Decision-making characters
c. 6 Replacement characters
c. 7 Escape sequence
c. 8 option flag
Appendix d Technical support, errata and code download
d. 1 How to download the sample code of this book
d. 2 Errata
d. 3 e-mail support
d. 4 p2p. wrox. com

Statement:

All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn

Latest courses

See more
  • [Web front-end] Node.js quick start
    [Web front-end] Node.js quick start
    This course is specially designed for beginners and aims to help students quickly master the basic knowledge and core technologies of Node.js. The course starts with the installation and environment configuration of Node.js, and gradually analyzes its asynchronous programming model, module system and event-driven mechanism in depth. Through a wealth of practical cases, students will learn how to use Node.js to build an efficient and stable web server, process HTTP requests and responses, and perform file operations and database interactions. In addition, the course will also introduce typical application scenarios of Node.js in front-end development, helping students quickly improve their practical capabilities and easily cope with the challenges of front-end development.
  • Complete collection of foreign web development full-stack courses
    Complete collection of foreign web development full-stack courses
    This course is a comprehensive tutorial covering HTML, CSS, JavaScript, Vue.js, React, Flutter and mobile APP development. From basic web page production to complex front-end and back-end interactions, to practical development of mobile applications, the courses are rich in content and highly practical. Through a series of practical projects, students will gain an in-depth understanding of and master various development skills and quickly grow into full-stack development engineers. Both beginners and experienced developers can benefit from it. Through the study of this course, you will have the ability to independently develop web applications and mobile applications, laying a solid foundation for future career development.
  • Go language practical GraphQL
    Go language practical GraphQL
    This course is designed to help learners master how to use Go language to implement GraphQL services. The course starts with the basic knowledge of GraphQL, and deeply analyzes the characteristics and advantages of its data query language. Then, combined with the characteristics of the Go language, it explains in detail how to build a GraphQL server, process requests, define data patterns, etc. Through rich practical cases, learners will learn how to integrate GraphQL in actual projects to improve the flexibility and efficiency of data interaction. The course is suitable for developers with a certain foundation in Go language and is a must-have for building efficient and modern APIs.
  • 550W fan master learns JavaScript from scratch step by step
    550W fan master learns JavaScript from scratch step by step
    This course is specially designed for beginners and is taught by Google bosses. The course starts with the basic knowledge of JavaScript and gradually deepens it, covering syntax, functions, objects, event processing, etc. Through vivid cases and practical exercises, students can quickly master the core skills of JavaScript. The boss will personally answer students' questions and share programming experience, allowing students to grow into JavaScript masters in a relaxed and pleasant atmosphere. Whether you are a novice at programming or a developer looking to improve your skills, this course will be your best choice for learning JavaScript.
  • Python master Mosh, a beginner with zero basic knowledge can get started in 6 hours
    Python master Mosh, a beginner with zero basic knowledge can get started in 6 hours
    This course takes you on a programming journey. Starting from scratch, this 6-hour course will guide you through the fundamentals and advanced concepts of Python. Whether you're a beginner or an experienced programmer looking to improve your skills, Mosh's in-depth explanations and clear teaching methods will get you up to speed with Python quickly. Learn more about variables, data types, conditionals, loops, functions, objects, and modules and solidify your understanding with hands-on exercises. This course is ideal for learning Python and preparing you for a variety of career fields. Mosh's expertise and passion for education will give you the confidence to start on your path to becoming a proficient Python developer.