]" only not for one character, but for a group - "[^(>)]"?" />
S
S
sorry_i_noob2018-08-17 23:14:48
Regular Expressions
sorry_i_noob, 2018-08-17 23:14:48

Regexp - how to make such an expression "[^>]" only not for one character, but for a group - "[^(>)]"?

Hello! Actually, subject. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2018-08-17
@saboteur_kiev

no way. negation works only inside the list of characters, it does not work with groups.
You can use a wrapper, like grep -v looks for lines where the desired expression is NOT found.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question