nicenote/source/_posts/zzbds.md
jiangzhixiong d12218f8ba blogConfig
2017-11-26 12:58:39 +08:00

13 lines
710 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 正则表达式
date: 2017-06-30 10:26:35
tags: [正则, js]
---
### 正则的介绍
正则表达式(Regular Expression)是一种文本模式包括普通字符例如a 到 z 之间的字母)和特殊字符(称为"元字符")。
正则表达式使用单个字符串来描述、匹配一系列匹配某个句法规则的字符串。
正则表达式是烦琐的,但它是强大的,学会之后的应用会让你除了提高效率外,会给你带来绝对的成就感。只要认真阅读本教程,加上应用的时候进行一定的参考,掌握正则表达式不是问题。
许多程序设计语言都支持利用正则表达式进行字符串操作。
###