DEV Community

loading...

Discussion on: I am trying to match this text with regexp but getting error

Collapse
srknhcgl profile image
srknhcgl

-{16}Page ((\d+)) Break-{16}
if you just want to extract number inside parenthesis, use (\d+)
please check on a tool like regexr.com/