lundi 13 février 2017

regex matches when the whole line is correct

Vote count: 0

Let's bring an example:

Go and drink in the FooBar
It's a very nicö place
John Skeet is the bartender

My goal is to select the whole line only if ALL CHAR matches the regex. Here for instance I want to select only the lines without an umlaut: [a-zA-Z\ \']+

Now I've found a way to select the whole line with ^$ but I wasn't very successful on regex101 with it.

How can I select the whole line when all char's in the line matches with the regex?

asked 12 secs ago

Let's block ads! (Why?)



regex matches when the whole line is correct

Aucun commentaire:

Enregistrer un commentaire