R: Tools for Writing Scripts to Generate data.table
This tool scans the provided table input for table elements and outputs R scripts to generate data.table that look like table themselves. This tool does not work if the table contains empty element(s) or if any table element contains space.
(ignore here)
or
or
(ignore here)
or
or
INPUT
This expression will be interpreted as regular expression. If you want special characters (.+*?|^$()[]{}\) be interpreted as normal characters, put backslash before them.

OUTPUT
© 2017 Tony Han. All rights reserved.

REGULAR EXPRESSIONS
Metacharacters
Metacharacters are characters with a special meaning:
. | Find a single character, except newline or line terminator |
\w | Find a word character (a letter, a digit or an underscore) |
\W | Find a non-word character |
\d | Find a digit |
\D | Find a non-digit character |
\s | Find a whitespace character |
\S | Find a non-whitespace character |
\b | Find a match at the beginning/end of a word |
\B | Find a match not at the beginning/end of a word |
\t | Find a tab character |
Brackets
Brackets are used to find a range of characters:
[abc] | Find any character between the brackets |
[^abc] | Find any character NOT between the brackets |
[0-4] | Find any digit between the brackets |
[^3-6] | Find any digit NOT between the brackets |
(x|y) | Find any of the alternatives specified |
Quantifiers
n+ | Matches any string that contains one or more n |
n* | Matches any string that contains zero or more n's |
n? | Matches any string that contains zero or one n |
n{X} | Matches any string that contains a sequence of X n's |
n{X,Y} | Matches any string that contains a sequence of X to Y n's |
n{X,} | Matches any string that contains a sequence of at least X n's |
n$ | Matches any string with n at the end of it |
^n | Matches any string with n at the beginning of it |
?=n | Matches any string that is followed by a specific string n |
?!n | Matches any string that is not followed by a specific string n |