header

 

More links

Adobe Connect | Adobe Conect Custom Pods | AutoHotkey | Android | Arduino | Blog | COMM140Fractals | Grammar Checkers | Knots | a Million Dots |  Processing | RedBubble | Tutorials | Weather | World Time Meeting Planner |



Home
> Ballarat Exam Timetable


NoteTab 5 Regular Expression Cleaning Script


; -------------------------------------------------------------------------
; Replace " Mon " with " Mon,"
; -------------------------------------------------------------------------
^!Replace " ([A-Z]{1}[a-z]{2}) " >> " $1," RWAS
;
; ----------------------------------------------------------
; Replace BIOL117 with BIOL117,
; ----------------------------------------------------------
^!Replace "(\w{3}\d{3}) " >> $1, RWAS
;
; -------------------------------------------------------------------------
; Replace CONTEXTS OF NURSING 1 with CONTEXTS OF NURSING 1,
; -------------------------------------------------------------------------
^!Replace "([A-Z]* \d{0,1}) " >> "$1," RWAS
;
; -------------------------------------------------------------------------
; Replace APPLIED SCIENCE FOR PRACTICE 3:10 with APPLIED SCIENCE FOR PRACTICE,3:10
; -------------------------------------------------------------------------
^!Replace "([A-Z]*) (\d{1,2}:\d{2})" >> "$1,$2" RWAS
;
; -------------------------------------------------------------------------
; Replace 14:00 with 14:00,
; -------------------------------------------------------------------------
^!Replace "(\d{1,2}:\d{2}) " >> $1, RWAS
;

Then this script

^!Replace , >> </td><td> RWAS
^!Replace ^ >> <tr><td> RWAS
^!Replace $ >> </td></tr> RWAS

Converts the comma delimited list to a table with the addition of

<table width="100%" border="1" cellpadding="1" bgcolor="#CCFF99">

</table> tags


APA citation:
Russell, R. (2016, July 04, 02:03 pm). Ballarat Exam Timetable
     Retrieved November 20, 2017, from
     http://www.rupert.id.au/exams/index.php
2146 Visits since May 31, 2007

Last refreshed: November 20 2017. 08:40.20 am

rupert dot russell at acu dot edu dot au Support Wikipedia

Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.