regex any character any space until lookahead code example Example: regular expression search for any character until Space /^[a-zA-Z-]*/ Creator:Zenonymous