-1

I have tried:

/[A-Za-z]++[ ]*+[1-9]/ 

and:

/^[\D*]+[\s]+[\d]/

but not working?

Josh Crozier
  • 233,099
  • 56
  • 391
  • 304
Sue
  • 11
  • 1
  • 4

2 Answers2

1

Just make it simple:

/\w+\s\d+/ // with optional 'g' modifier

Here's a working example.

Marco Bonelli
  • 63,369
  • 21
  • 118
  • 128
1

This is as simple as I could get it:

\w+\s\d+
BlackHatSamurai
  • 23,275
  • 22
  • 95
  • 156