I have a TEXT file where I have 4700 lines of a 30 character value. The numerical characters are in position 1 through 8 and then there are only spaces supposedly after. I am using REGEX in NOTEPAD++ to find 2 separate scenarios:
Any help/direction would be appreciated. Thanks.
Here is a sample of what my file looks like:
332268-1
322335
322375
322393
322368-1
322381
322475
323912-1
322539
322641
322641
322514-1
322638
322978
322978
322638-1
287686
287735
322579
322643
323113
323257
331875
331875
322637-1
322720-1
322745-1
322679
322702
322971
324548
322971
333146-1
Number 1 would be ^\d{0,5}\s+\n
^ matches the beginning of the string or line
\d digit
{0,5} matches quantify or proceeding token
\s whitespace
+ quantifier matches 1 or more
\n is a new line
Number 2 would be ^.{31,}
^ matches the beginning of the string or line
. matches any character but line breaks
{31,} matches any line that is 31 characters or greater.