Skip to content

Instantly share code, notes, and snippets.

@weslleyaraujo
Created August 8, 2020 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weslleyaraujo/f930e7f23fc30d8173f45ef68ef633b5 to your computer and use it in GitHub Desktop.
Save weslleyaraujo/f930e7f23fc30d8173f45ef68ef633b5 to your computer and use it in GitHub Desktop.
simple fuzzy search regex
new RegExp(".*" + "string".split("").join(".*") + ".*")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment