This page needs to be fixed with the code plugins (below) to hold the RegEx.
Regular Expression of the Day
Worked Example
| Regular Expression | 
 Copy to clipboard 
 
 | 
| What are the components? | brackets (which defines a set) contents aeiou | 
| What does it do? | Finds any of the characters in brackets i.e. any English vowel | 
| Which program(s) would you use it? | Works in any program –FLEx, ParaTExt … | 
| What if I added a carat before? 
 Copy to clipboard 
 
 | Non vowels | 
| What would I need to change to make it find any consonant? | 
 Copy to clipboard 
 
 | 
| In what other situations can I use this (or something similar)? | Toolbox gdve genrv finds either the gloss, definition or vernacular in either language Find the gloss in either English, national, regional, vernacular | 
 
Week 1 Day 1
| Regular Expression | aeiou | 
| What are the components? | 
 | 
| What does it do? | 
 | 
| Which program(s) would you use it? | 
 | 
| What if I added a characters in between the two sets? What would it find? | 
 | 
| What would I need to change to make it find the same vowel the second time? | 
 | 
| In what other situations can I use this (or something similar)? | 
 | 
 
Week 1 Day 2
| Regular Expression | regex:\wɨ\w | 
| What are the components? | 
 | 
| What does it do? | 
 | 
| Which program(s) would you use it? | 
 | 
| What if I changed the second w to a b? | regex:\wɨ\b | 
| What would I need to change to make it find the “ɨ” word initial? | 
 | 
| In what other situations can I use this (or something similar)? | 
 | 
 
Week 1 Day 3
| Regular Expression | Find: \\mt1 (.*\r\n) Replace: \\toc1 \1\0 | 
| What are the components? | 
 | 
| What does it do? | 
 | 
| Which program(s) would you use it? | 
 | 
| What if I didn't have the \0? | 
 | 
| What would I need to change to make it find \mt2 as well? | 
 | 
| In what other situations can I use this (or something similar)? | 
 | 
 
Week 1 Day 4
| Regular Expression | (\\c .*\r\n)(\\v) | 
| What are the components? | 
 | 
| What does it do? | 
 
 | 
| Which program(s) would you use it? | 
 | 
| What if I changed it to? | (\\c .*\r\n)(\\v 1) | 
| What would I need to change to make it find section headings? | 
 | 
| In what other situations can I use this (or something similar)? | 
 | 
 
Week 1 Day 5
| Regular Expression | Find: \\r (.*)\r\n Replace: \\r \(\1\)\r\n | 
| What are the components? | 
 | 
| What does it do? | 
 
 | 
| Which program(s) would you use it? | 
 | 
| What if I changed \\r to \\s1? | 
 | 
| What would I need to change to make it remove brackets? | 
 | 
| In what other situations can I use this (or something similar)? | 
 | 
 
Week 2 Day 1
| Regular Expression | \\ps .{5,10} | 
| What are the components? | 
 | 
| What does it do? | 
 | 
| Which program(s) would you use it? | 
 | 
| What if I changed it? | \\ps .{5,} | 
| What would I need to change to make it find 20 or more? | 
 | 
| In what other situations can I use this (or something similar)? | 
 | 
 
Week 2 Day 2
| Regular Expression | Find: (\\ps .*), Replace: \1 \r\n\\dn | 
| What are the components? | 
 | 
| What does it do? | 
 | 
| Which program(s) would you use it? | 
 | 
| What if the comma was inside the brackets? | 
 | 
| What would I need to change to make it spit at ;? | 
 | 
| In what other situations can I use this (or something similar)? | 
 | 
 
Week 2 Day 3
| Regular Expression | \\l" rel="">l.*\r\n\\hm.*\r\n | 
| What are the components? | 
 | 
| What does it do? | 
 | 
| Which program(s) would you use it? | 
 | 
| What if I removed the ? | 
 | 
| What would I need to change to make it find \ph before \hm? | 
 | 
| In what other situations can I use this (or something similar)? | 
 | 
 
Week 2 Day 4
| Regular Expression | \u0301 | 
| What are the components? | 
 | 
| What does it do? | 
 | 
| Which program(s) would you use it? | 
 | 
| What if I changed it to? | \u0301|\u0300 | 
| What would I need to change to make it find the vowel as well? | 
 | 
| In what other situations can I use this (or something similar)? | 
 | 
 
Week 2 Day 5
| Regular Expression | regex:\d" rel="">\d$ | 
| What are the components? | 
 | 
| What does it do? | 
 | 
| Which program(s) would you use it? | 
 | 
| What if I added xxxx? | regex:\d$ | 
| What would I need to change to make it find subsenses as well? | 
 | 
| In what other situations can I use this (or something similar)? | 
 |