How would I go about making a regex that would only match the data provided in a scalar ,nothing more, nothing less. Would I use a specific quantifier??
For example, say that I am matching a scalar provided from STDIN that looks like this:
user1. How would I get it to match ONLY the user1 not the user11 or user12 and so on.....
Any help would be appreciated..