More links

AutoHotkey | Android | Arduino | COMM140Fractals | Grammar Checkers | Knots | A Million Dots Activity |  Processing | Processing for Scratch Users | RedBubble | Tutorials | Weather | World Time Meeting Planner | Favicon Generator.

Home > Tutorials > Regular Expressions

Regular Expressions







Regular Expressions Cheat Sheet by


For use with Aiken format for Moodle quizes

If you need to add )'s to a list to turn:

Which LMS has the most quiz import formats?
A Moodle
B ATutor
C Claroline

into the following:

Which LMS has the most quiz import formats?
A) Moodle
B) ATutor
C) Claroline

Then the following seatch and replace strings will work

search for: ^(.)

Repace with: $1)

^(.) Match the fist character at the begining of each line and remember what the character was


$1) Replace with the first match followed by a bracket




Non Greedy search


APA citation:
Russell, R. (2020, June 13, 02:01 pm). Regular Expressions.
     Retrieved July 05, 2022, from http://www.rupert.id.au/tutorials/regularexpressions/index.php

Last refreshed: July 05 2022. 07:05.02 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.

8 visits since March 16, 2012