The regular expression contains an invalid character class name.

General discussion related to "Everything".
Post Reply
Debugger
Posts: 531
Joined: Thu Jan 26, 2017 11:56 am

The regular expression contains an invalid character class name.

Post by Debugger » Thu Apr 25, 2019 5:31 pm

Any One Character (Not) in the Set
[^]
[]
What is the order in which special characters are added, popular in any text.
The regular expression contains an invalid character class name.
Wrong:
^(?!www|https?:).*[^"\.^#%&$!\*:<>\?/\{\|\}]=»А-Яа-я"]$

therube
Posts: 2371
Joined: Thu Sep 03, 2009 6:48 pm

Re: The regular expression contains an invalid character class name.

Post by therube » Thu Apr 25, 2019 5:53 pm

Oh, not understanding what you're looking for...

Nor am I understanding what I'll write below, but... ?

Code: Select all

regex:^(?!.*x)
Supposedly that would find names without an 'x'.

Debugger
Posts: 531
Joined: Thu Jan 26, 2017 11:56 am

Re: The regular expression contains an invalid character class name.

Post by Debugger » Thu Apr 25, 2019 6:13 pm

therube - Just find the any text where there is no dot at the end of the line, but do not include other letters, and Russian, and other character.
[a-żA-ŻА-Яа-я0-9]

Recognize These Characters:
!#$%&'()*+,-./:;=?@\^_~

Character Not Allowed at End:
!'(),.:;?

Debugger
Posts: 531
Joined: Thu Jan 26, 2017 11:56 am

Re: The regular expression contains an invalid character class name.

Post by Debugger » Sun May 05, 2019 11:57 am

therube wrote:
Thu Apr 25, 2019 5:53 pm
Oh, not understanding what you're looking for...

Nor am I understanding what I'll write below, but... ?

Code: Select all

regex:^(?!.*x)
Supposedly that would find names without an 'x'.
Not work:

regex:^(?![\wh][\wt][\wt][\wp][\ws]{5}:\/\/+[!"#$%&'()*+,-./:;<=>?@[\]^`{|}~])

Post Reply