title: How to match numbers followed by any combination of special characters and spaces using regex
body: <p>I am a newbie with regex and I am having trouble trying to match some parts of a string so I can remove it from a piece of entered text. I want to match digits followed by a sequence of a combination of any special characters + spaces. There could also be non Latin characters that should not be removed inside the sequence (for example Ñ).</p>
  <p>for example inputted it may look like:</p>
  <pre><code>11@- &amp;-.text
  11 $ab*cÑ .somewords123
  </code></pre>
  <p>outputted I would expect</p>
  <pre><code>text
  abcÑsomewrods123
  </code></pre>
  <p>I am using javascript replaceall method with regex to find it. So far I have something basic like this regex</p>
  <pre><code>.replaceAll(/\d+(\@|\s)+(\-|\$)+(\s|\&amp;)+(\&amp;)+(\-)+(\.)/g, '');
  </code></pre>
  <p>Is there a way to write this more efficiently so that it captures any special characters since the text can contain more different special chars than in the examples? Or is this a situation better handled with pure JS?</p>
  <p>Thanks in advance for your help.</p>