Skip to content

regex examples (negate regex) #2226

Answered by BurntSushi
darked89 asked this question in Q&A
Discussion options

You must be logged in to vote
rg -e '[0-9]|,|\.' test.csv | rg -v -e bad_value -e not_a_number

Like that? Honestly, I'm having a lot of difficulty parsing your question. Could you please show the entire output that you want? Otherwise I'm just stuck trying to guess what you mean.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@darked89
Comment options

@BurntSushi
Comment options

@darked89
Comment options

Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants