Ekspresi Regular: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Gibransyah (talk | contribs)
No edit summary
Gibransyah (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Panduan belajar ekspresi regular<br/>
Panduan belajar ekspresi regular<br/>
akan diterjemahkan dari : <code>http://www.regular-expressions.info/</code>


= Jalur Pintas =
= Pengantar =
= Quick Start =
== Text Patterns and Matches ==
== Text Patterns and Matches ==
== Literal Characters ==
== Literal Characters ==
Line 16: Line 16:
== Unicode Properties==
== Unicode Properties==
== Lookaround==
== Lookaround==
= Mari Bermain ! =
= Quick Tips =
Text Mentah:
        1399 | 121112100653_artifact.txt
        1452 | 121112103236_artifact.txt
        1478 | 121112101109_artifact.txt
Tantangan:
Temukan pola semua karakter sebelum angka <code>1211</code>
Jawab:
^\s*[0-9]*\s|\s
= Referensi =
* <code>http://www.regular-expressions.info/</code>

Latest revision as of 02:42, 10 May 2013

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

Text Mentah:

       1399 | 121112100653_artifact.txt
       1452 | 121112103236_artifact.txt
       1478 | 121112101109_artifact.txt

Tantangan: Temukan pola semua karakter sebelum angka 1211

Jawab:

^\s*[0-9]*\s|\s

Referensi