Simpler regex for checking if is inside string