When matching <small></small> in StringParser parenthesis should be excluded

- Do not insert optional parenthesis in the regex group
- Replace with empty string if content inside is empty