Skip to content

Instantly share code, notes, and snippets.

@Gratsh
Created November 15, 2018 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gratsh/11bc008cafc04ac9ec1448c0ae642684 to your computer and use it in GitHub Desktop.
Save Gratsh/11bc008cafc04ac9ec1448c0ae642684 to your computer and use it in GitHub Desktop.
12
source = source.replace("<dt><label for=\"ctrl_username\">Name:</label>", "");
source = source.replace("<dt><label for=\"ctrl_password\">Password:</label>", "");
source = source.replace("<dt><label for=\"ctrl_", "");
String _name = "";
String _email = "";
String _pass = "";
String _passConfirmation = "";
String _captcha = "";
String _timeZone = "";
String _location = "";
_name = regex("<label for=\"ctrl_(.*?)\"", source);
source = source.replace("<label for=\"ctrl_" + _name + "\"", "");
_email = regex("<label for=\"ctrl_(.*?)\"", source);
source = source.replace("<label for=\"ctrl_" + _email + "\"", "");
_pass = regex("<label for=\"ctrl_(.*?)\"", source);
source = source.replace("<label for=\"ctrl_" + _pass + "\"", "");
_passConfirmation = regex("<label for=\"ctrl_(.*?)\"", source);
source = source.replace("<label for=\"ctrl_" + _passConfirmation + "\"", "");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment