Regular Expression to do an exact word match
Posted on 2014-09-30
Just need a reqular expression to do an exact word match. For example;
String 1 = This a test containing a Street.
String 2 = Street is in the string at the beg.
String 3 = St. is some chars Street in this big string.
String 4 = This string contains Streets not str.
I need the expression to find "Street" in strings 1 -3 above. String 4 should not be picked up.