Ekspresi Regular: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Gibransyah (talk | contribs) Daftar isinya dulu ah, biar semangat, up up up |
Gibransyah (talk | contribs) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 17: | Line 17: | ||
== Lookaround== | == Lookaround== | ||
= Mari Bermain ! = | = 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 = | = Referensi = | ||
* <code>http://www.regular-expressions.info/</code> | * <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