def findUrl()

in app/redact/TextFinder.scala [40:44]


  def findUrl(document: PDDocument): List[FoundText] = {
    val textFinder = new RegexFinder("""http[s]?:\/\/([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)(\/[^ ]*)?""".r)
    textFinder.getText(document)
    textFinder.locations.result()
  }