Giter Club home page Giter Club logo

regular-expressions's Introduction

Regular expression list

  • Replace everything inside square brackets
  • Replace everything inside parenthesis
  • Select rows with <h1> tags
  • Select contents inside <h1> tags
  • Select all the lines containing a string e.g. dyno_bethistory.php
  • Select all the lines NOT containing a string e.g. dyno_bethistory.php
  • Remove blank lines
  • Remove blank lines with cardinality more than 2 and replace with one new line
  • Remove NULL
  • Matches all HTML tags pairs including attributes in the tags
  • Remove html tags
  • Select emails
  • Select strings from hash functions (md5, sha1, sha256, sha512)
  • Select everything except commas
  • Select numbers (with decimal)
  • Select 5 digit numbers (integers)
  • Finding Comments in Source Code
  • Select time in format hhmmss
  • Select everything after a specific character, e.g. @
  • Select only filename from path
  • Trim leading whitespace
  • Trim leading tabs with spaces
  • Place cursor in every line.
  • Place cursor in every odd line.
  • Select values in quotes (with quotes)
  • Select values in single/double quotes (with quotes)
  • Select values in quotes (without quotes)
  • Match line that doesn't contain a word example badword
  • Find unicode characters
  • Match every second occurence
  • Match lines with more than 22 characters
  • Match all floats
  • Search two words in a line
  • Select n lines after a string
  • Select between two strings
  • Select digits after specified string
  • Select everything between 2 tags
  • Find password in URL
  • Select everything inside double quotes when inside a tag (e.g. search for type="XX" and get XX)
  • Select everything between two strings (e.g. select everything between <div> and </div>)

regular-expressions's People

Contributors

codedk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.