^start of line
\(the literal ( (4010 / 508 / 2816)
\p{Nd}a decimal digit
\)the literal ) (4110 / 518 / 2916)
\s+any whitespace character, repeated at least once
.+any character (except for line terminators), repeated at least once
\na line-feed (newline) character (ASCII 10)
\(the literal ( (4010 / 508 / 2816)
\p{L}any Unicode letter
\)the literal ) (4110 / 518 / 2916)
.*?any character (except for line terminators), repeated any number of times
।the literal । (240410 / 45448 / 96416)
\s+any whitespace character, repeated at least once
Ansthe literal text Ans (case sensitive) \s+any whitespace character, repeated at least once
\(the literal ( (4010 / 508 / 2816)
\)the literal ) (4110 / 518 / 2916)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
u modifier: unicode. Enables Unicode-aware matching and escape syntax