Register / Login
Regular expression - count newline characters
posted 6 years ago
I have a requirement to count the number of newline characters in a varchar2 field in Oracle.
The catch is if the line starts with characters 'SS' it
be ignored in the count.
This is a test for SS not included so ignore
should return the count as 3
Is there a way to do this using regular expression ?
Use regex for this?
How do I find a text file is Unix or Dos format via Java API?
NewLine Problem in Regular Expressions
Counting exact matches of substring.
How to read \n in XML