Remove numeric prefix from string - PHP regex

Posted by Pekka on Stack Overflow See other posts from Stack Overflow or by Pekka
Published on 2010-03-07T22:48:06Z Indexed on 2010/03/07 23:11 UTC
Read the original article Hit count: 309

Filed under:
|

Would somebody care to help me out with a regex to reliably recognize and remove any number, followed by a dot, in the beginning of a string? So that

1. Introduction

becomes

Introduction

and

1290394958595. Appendix A

becomes

Appendix A

© Stack Overflow or respective owner

Related posts about php

Related posts about regex