Title |
Test
Find
Pattern Title
|
Expression |
\\red([01]?\d\d?|2[0-4]\d|25[0-5])\\green([01]?\d\d?|2[0-4]\d|25[0-5])\\blue([01]?\d\d?|2[0-4]\d|25[0-5]); |
Description |
This RegEx will match a RTF color taken from a color tabel in a RTF document (having the form '\redXXX\greenXXX\blueXXX;', where XXX is a number between 0 and 255). |
Matches |
\red76\green157\blue76; | \red0\green0\blue0; | \red120\green120\blue120; |
Non-Matches |
\red0\green\257\blue120; | \red0\green0\blue0 | red120\green120\blue120; |
Author |
Rating:
Not yet rated.
Rasmus Wehner
|
Source |
Partly taken from: http://www.oreilly.com/catalog/regex/chapter/ch04.html#Be_Specific |
Your Rating |
|