Ekspresi Regular: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Gibransyah (talk | contribs) New page: Panduan belajar ekspresi regular Akan diterjemahkan dari : <code>http://www.regular-expressions.info/</code> = Jalur Pintas = == Text Patterns and Matches == == Literal Characters == == C... |
Gibransyah (talk | contribs) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Panduan belajar ekspresi regular | Panduan belajar ekspresi regular<br/> | ||
= | = 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