Scala Language Regular Expressions

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • re.findAllIn(s: CharSequence): MatchIterator
  • re.findAllMatchIn(s: CharSequence): Iterator[Match]
  • re.findFirstIn(s: CharSequence): Option[String]
  • re.findFirstMatchIn(s: CharSequence): Option[Match]
  • re.findPrefixMatchIn(s: CharSequence): Option[Match]
  • re.findPrefixOf(s: CharSequence): Option[String]
  • re.replaceAllIn(s: CharSequence, replacer: Match => String): String
  • re.replaceAllIn(s: CharSequence, replacement: String): String
  • re.replaceFirstIn(s: CharSequence, replacement: String): String
  • re.replaceSomeIn(s: CharSequence, replacer: Match => Option[String]): String
  • re.split(s: CharSequence): Array[String]


Got any Scala Language Question?