Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

RegEx for no whitespace at the beginning and end

^[^s]+(s+[^s]+)*$
 
PREVIOUS NEXT
Tagged: #RegEx #whitespace #beginning
ADD COMMENT
Topic
Name
5+7 =