Nowhere can I find the beginning of line Character for Regex in C#. Im using the expression [1-9][0-9]*(, [1-9][0-9]*)*$ But without the <Beginning of line>[1-9][0-9]*(, [1-9][0-9]*)*$ my strings are accepted with random letters in them like "1ThisShouldntB eHere7, 12, 2" because it just starts matching at the 7.
Please I need the beginning of line character for regular expressions in C#... its has become the bane of my existance.
Thanks,
Petimus
Please I need the beginning of line character for regular expressions in C#... its has become the bane of my existance.
Thanks,
Petimus
Comment