[Solved] How do I write a regular expression that matches strings with exactly one space between each word and no trailing or leading spaces [closed]

[ad_1]

How do I write a regular expression that matches strings with exactly one space between each word and no trailing or leading spaces [closed]

[ad_2]

solved How do I write a regular expression that matches strings with exactly one space between each word and no trailing or leading spaces [closed]