Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

match anything : .* eg: regex \(.*\) matches (a, b, c, d) or (a..dlldkfjdlkjaoi) or (9788E98e7r8e((&^&*^&)

  • find & replace
PaymentByCard.nameOfBrowser.equalsIgnoreCase\(("[a-z]*")\)
$1.equalsIgnoreCase(browserName)
==> "chrome".equalsIgnoreCase(browserName)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.