I am working on writing a regex for phonenumber. I have made a very basic regex for matching a phone number.
^[-+[:blank:][:digit:]]*$.
But that one in not working in python. If I try the same regex on someother tool for example text edit for regex search then its working. I am pretty new to regex so will be great if I can get some help.
Thanks
[:blank:][:digit:]? If not, you may want to replace them with[-+ \d].