I'm trying to create a regex to match all letters or spaces or specific number.
Here's what I have.
([a-zA-Z\s24]*)
#but this is matching a 2 or a 4, i need exactly 24 only ex: - asdfafasf asfasdf #should match asdfafasf asfasdf - asdf asdf asdf 24 #should match asdf asdf asdf 24 - asdf24asdfasdf as #should match asdf24asdfasdf as - asdfadf2 asdf #should match asdfadf - asdfasdf kljl 6 #should match asdfasdf kljl