Difference between revisions of "Ekspresi Regular"
Jump to navigation
Jump to search
Gibransyah (talk | contribs) |
Gibransyah (talk | contribs) |
||
Line 19: | Line 19: | ||
= Quick Tips = | = Quick Tips = | ||
− | + | ||
− | ^\s* | + | 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 = | = Referensi = | ||
* <code>http://www.regular-expressions.info/</code> | * <code>http://www.regular-expressions.info/</code> |
Latest revision as of 09: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