Figure-2: URL’s in Hindi native script One way to work around this is to create a RegEx (Regular Expression) entity manually as shown in Figure-3: Figure-3: RegEx workaround for pre-built entries Generic entities such as phone numbers and URLs can be extracted using regular...
().valid else ValidationException(s"$string not found").invalidNel } } def requiredSection( startRegExp: Regex, endRegExp: Regex, validation: ValidationFunction ): ValidationFunction = { case class Section(started: Boolean = false, ended: Boolean = false, lines: List[String] = Nil) def ...