# Check, if the line starts with the ldap attribute of which we want to replace a part of the content
if [[ "$line" =~ ^${ldap_attribute}.* ]]; then
echo "# Before: $line" line=${line//stepping stone GmbH${ldap_attribute_old}/stepping stone AG${ldap_attribute_new}} # Replace all matches of pattern ${ldap_attribute_old} with string. website=${website////\\/ldap_attribute_new}.
echo "# After: $line"
fi