- Java 9 Regular Expressions
- Anubhava Srivastava
- 160字
- 2021-07-02 18:58:33
Introduction to regular expressions
Regular expression (or in short regex) is a very useful tool that is used to describe a search pattern for matching the text. Regex is nothing but a sequence of some characters that defines a search pattern. Regex is used for parsing, filtering, validating, and extracting meaningful information from large text, such as logs and output generated from other programs.
We find regular expressions in day-to-day use on many websites. For example, while searching for your favorite recipe on search engines, while filling up forms and entering data such as username and passwords, and so on. While setting up a password on many sites, we encounter password validation errors, such as password must contain one digit or at least one uppercase letter or at least one special character, and so on. All these checks can be done using regular expressions. A few more typical examples of regular expressions are validating phone numbers or validating postal/zip/pin codes.
- Mastering Ember.js
- MATLAB圖像處理超級學(xué)習(xí)手冊
- Rust編程從入門到實戰(zhàn)
- Learn Scala Programming
- Visual C#通用范例開發(fā)金典
- UVM實戰(zhàn)
- 精通Python自動化編程
- 智能搜索和推薦系統(tǒng):原理、算法與應(yīng)用
- Python爬蟲、數(shù)據(jù)分析與可視化:工具詳解與案例實戰(zhàn)
- Kubernetes進階實戰(zhàn)
- Extending Unity with Editor Scripting
- Java EE Web應(yīng)用開發(fā)基礎(chǔ)
- 從零開始:C語言快速入門教程
- 從零開始學(xué)UI:概念解析、實戰(zhàn)提高、突破規(guī)則
- Oracle Database XE 11gR2 Jump Start Guide