paint-brush
Creating a Better User Experience with Regular Expressionsby@ethan.jarrell
807 reads
807 reads

Creating a Better User Experience with Regular Expressions

by Ethan Jarrell22mDecember 27th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

I recently started creating a site where a user would input a city and state or zipcode, and have weather results returned to them for that location. I realized, in doing this, some of the difficulties in refining user input for example, from the user, I need to get either a city & state or a zipcode. I could have simply done something like this:

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Creating a Better User Experience with Regular Expressions
Ethan Jarrell HackerNoon profile picture
Ethan Jarrell

Ethan Jarrell

@ethan.jarrell

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite