regex

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 2 Imported by: 0

README

Regex Examples

Find substring between

package main

import (
  "fmt"

  "github.com/D3Ext/maldev/regex"
)

func main(){
  matches := regex.FindSubstringBetween("Look: ABC some example test ABC", "A", "C")
  fmt.Println(matches) // Output: [B B]
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindSubstringBetween

func FindSubstringBetween(input string, first_delim string, second_delim string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL