Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Badguy13 Badguy13 is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 399
Rep Power: 15
Badguy13 mempunyai hidup yang Normal
Default [ASk] tentang regex aka Regular expression, buat yang bisa help pls T_T

jadi gin saya ada problem, yang mesti pake regex ataw regular expression, nah ceritanya ada log file




Code:

127.0.0.1 - - [25/Nov/2008:16:56:10 +0700] "GET /phpMyAdmin/themes/original/img/b_export.png HTTP/1.1" 200 313 "http://localhost/phpMyAdmin/phpmyadmin.css.php?token=094e691a16d64e0d7b8b760ed 459f89c&js_frame=right&nocache=3634557052" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.10 (intrepid) Firefox/3.0.4"

trus yang diminta dari log file itu di parsing biar keluarannya kayak gini,




Code:

2008-11-25 /phpMyAdmin/themes/original/img/b_export.png 1

yang saya tahu saya mesti split setelah "GET sampai " 200



sama rubah format 25/Nov/2008 menjadi 2008-11-25 ada yang bisa bantu ini?? terima kasi sebelumnya.

</div>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Terkait
Thread Thread Starter Forum Replies Last Post
JUAL kalo ada yang berniat ngejual pedal expression Antidangdut Alat Musik 0 26th September 2012 05:57 AM
JUAL Zoom Expression Pedal Paling Ekonomis, Bisa buat zoom maupun Boss Stompbox Rodstewart Alat Musik 0 26th September 2012 12:54 AM
Ane bisa terawang buat keputusan SBY tentang BBM aziskentut Jokes 0 9th June 2012 09:39 AM
All About Regular Expression (RegEx) Darkc0der Programming 0 20th November 2011 10:51 PM
[need help]tentang coding VB gan..ada yang bisa bantu? Braincode Programming 0 11th November 2011 01:21 PM

 


All times are GMT +7. The time now is 11:01 PM.