Ekspresi Regular

From OnnoWiki
Jump to navigation Jump to search

Panduan belajar ekspresi regular

Pengantar

Quick Start

Text Patterns and Matches

Literal Characters

Character Classes or Character Sets

Shorthand Character Classes

Non-Printable Characters

The Dot Matches (Almost) Any Character

Anchors

Alternation

Repetition

Greedy and Lazy Repetition

Grouping and Backreferences

Unicode Properties

Lookaround

Mari Bermain !

Quick Tips

  • Temukan lebih dari satu spasi di awal kalimat
^\s*

Referensi