Quantcast
Viewing latest article 3
Browse Latest Browse All 14

Answer by AnubhavShakya for What is a word boundary in regex?

Word boundary \b is used where one word should be a word character and another one a non-word character.Regular Expression for negative number should be

--?\b\d+\b

check working DEMO


Viewing latest article 3
Browse Latest Browse All 14

Trending Articles