regex   36269

« earlier    

Regular Expression Library
Welcome to RegExLib.com, the Internet's first Regular Expression Library. Currently we have indexed 22791 expressions from 2874 contributors around the world. We hope you'll find this site useful and come back whenever you need help (http://regexadvice.com/forums/) writing an expression, you're looking for an expression (http://www.regexlib.com/Search.aspx) for a particular task, or are ready to contribute new expressions (http://www.regexlib.com/Add.aspx) you’ve just figured out. Thanks!
regex  learning  reference 
yesterday by dusko
Regex Tutorial - Non-Printable Characters
Non-Printable Characters
You can use special character sequences to put non-printable characters in your regular expression. Use \t to match a tab character (ASCII 0x09), \r for carriage return (0x0D) and \n for line feed (0x0A). More exotic non-printables are \a (bell, 0x07), \e (escape, 0x1B), and \f (form feed, 0x0C). Remember that Windows text files use \r\n to terminate lines, while UNIX text files use \n.

In some flavors, \v matches the vertical tab (ASCII 0x0B). In other flavors, \v is a shorthand that matches any vertical whitespace character. That includes the vertical tab, form feed, and all line break characters. Perl 5.10, PCRE 7.2, PHP 5.2.4, R, Delphi XE, and later versions treat it as a shorthand. Earlier versions treated it as a needlessly escaped literal v. The JGsoft flavor originally matched only the vertical tab with \v. JGsoft V2 matches any vertical whitespace with \v.

-------------------

\t = tab
\r = newline
\n = line feed (what is the difference between this and \r ?)

Remember that Windows text files use \r\n to terminate lines, while UNIX text files use \n.
regex  perl  programming  unix  unicode  reference  howto  tutorial 
yesterday by dusko
JSVerbalExpressions
JavaScript regular expressions made easy
regex 
yesterday by bfonteyn
grep.app
Search across a half million git repos
code  regex  github  search  programming 
yesterday by amason
i Hate Regex - The Regex Cheat Sheet
i Hate Regex is a regex cheat sheet that also explains the commonly used expressions so that you understand it. Stop hating and start learning.
regex  cheatsheet  learning 
yesterday by reorx

« earlier    

related tags

2011  2020  advertising  automation  bestpractices  bot  c  categorytheory  cheatsheet  cli  clojure  code  command-line  computers  datastructures  debugging  dev  development  diagram  discussion  documentation  editor  emoji  examples  expression  expressions  free  fsm  fun  functionalprogramming  games  generation  github  golang  google-analytics  google_docs  google_sheets  grep  grex  guide  help  hn  howto  html  informationsecurity  infosec  interesting  it  javascript  keyboardmaestro  learning  library  libreoffice  links  list  nightbot  nlp  oilshell  online  onlinetools  opensource  overview  perl  plugin  powershell  practice  problems  productivity  programming  python  reference  regexp  regular  regular_expressions  regularexpressions  ruby  rust  scripting  search  simplicity  software  spam  stack-overflow  sublimetext  sysadmin  test  testing  text  tool  toolkit  tools  tracking  trees  tutorial  tutorials  unicode  unix  visualization  web  webbrowser  webdev  workarounds  zsh 

Copy this bookmark:



description:


tags: