0 votes
in React Hooks by
What is lookbehind in Regular expressions?

1 Answer

0 votes
by
It is working towords to the left to see if match is exist

Positive Lookbehind:

If match is successful match to the left

Positive lookbehind is specified with ( ?<=...)

Ex: (?<=\d)  successful where digit comes left

Negative Lookbehind:

If match is successful not match to the left

Negative lookbehind is specified with ( ?<!...)

Related questions

0 votes
asked Jul 3, 2023 in JAVA by Robin
0 votes
asked Aug 15, 2023 in React Hooks by GeorgeBell
...