0 votes
in ReactJS by
What is lookaround in Regular expressions?

1 Answer

0 votes
by

Generally regex works left to right but sometimes needs to process the text right to left.

Processing text right to left is called lookaround.

example : Needs to insert coma after three digits in cash 

12,345,678

Related questions

0 votes
asked Aug 15, 2023 in ReactJS by GeorgeBell
0 votes
0 votes
asked Aug 17, 2023 in ReactJS by GeorgeBell
...