|
From: Jurgen Haan on 14 Apr 2008 03:46 Dan N wrote: > Sorry, this may not be the best newsgroup, but it is the most Linux savvy > of any I know. > > I'm trying to figure out a regular expression to match a line with more > than 2 '-' characters in it. Is this possible? > > Dan Instead of using constructions to match for multiple occurrences of a character, you should try matching for that character in a line and use the designated regexp function to return a result count. But since this is very very basic regexp material, I suggest you read up on regular expressions (google) before asking stuff on (the wrong) newsgroups. -R- |