How would You check if string contains exactly 2 spaces in PHP ?
f.e. 'John Wayne Washington' -> TRUE (2 spaces in string) 'John Wayne' -> FALSE (1 space)
Any regex patte with explanation ?
How would You check if string contains exactly 2 spaces in PHP ?
f.e. 'John Wayne Washington' -> TRUE (2 spaces in string) 'John Wayne' -> FALSE (1 space)
Any regex patte with explanation ?
برچسب:
نویسنده: استخدام کار